check that expected function calls are actually made
github.com/continuationlabs/will-call
continuationlabs/will-call