We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
interface Dependency { int foo() out(result) { assert(result != int.init); } } unittest { auto mocker = new Mocker; auto dependency = mocker.mock!Dependency; mocker.expect(dependency.foo).returns(42); mocker.replay; assert(dependency.foo == 42); }
fails in dmocks.mocks.ExpectationSetup dmocks.mocks.Mocker.expect: Assertion failure
dmocks.mocks.ExpectationSetup dmocks.mocks.Mocker.expect
The text was updated successfully, but these errors were encountered:
No branches or pull requests
fails in
dmocks.mocks.ExpectationSetup dmocks.mocks.Mocker.expect
: Assertion failureThe text was updated successfully, but these errors were encountered: