A possibly missing check:

```
assert.equal(sharedMethod.willInvoke('myName', false), false);
```