Skip to content

Commit

Permalink
Don't require inner mock setups to be matched
Browse files Browse the repository at this point in the history
  • Loading branch information
stakx committed Oct 14, 2020
1 parent 42c0083 commit b9e733b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Moq/InnerMockSetup.cs
Expand Up @@ -35,5 +35,11 @@ protected override void ResetCore()
{
this.InnerMock.MutableSetups.Reset();
}

protected override bool TryVerifySelf(out MockException error)
{
error = null;
return true;
}
}
}

0 comments on commit b9e733b

Please sign in to comment.