Use DomainBuilder to extend a use case and test it with a sinon spy
Description
While I was coding a test I realized it could be useful to pass a sinon spy to the DomainBuilder in order to verify if a use case has been called. I started to implement the feature, but then I realized it was already supported, so in this PR is only adding a test for this feature, in order to be example for others.
Also the Readme file was improved with an example of use.
Use DomainBuilder to extend a use case and test it with a sinon spy
Description
While I was coding a test I realized it could be useful to pass a sinon spy to the DomainBuilder in order to verify if a use case has been called. I started to implement the feature, but then I realized it was already supported, so in this PR is only adding a test for this feature, in order to be example for others.
Also the Readme file was improved with an example of use.