Skip to content

Commit

Permalink
Add more unit test scenarios for lambda
Browse files Browse the repository at this point in the history
Add more variations with and without MockBehavior specified
  • Loading branch information
rjmurillo committed Dec 24, 2024
1 parent c2584f6 commit 0d618c7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ public static IEnumerable<object[]> ExpressionTestData()
return new object[][]
{
["""_ = new Mock<Calculator>(() => new Calculator(), MockBehavior.Loose);"""],
["""_ = new Mock<Calculator>(() => new Calculator(), MockBehavior.Strict);"""],
["""_ = new Mock<Calculator>(() => new Calculator(), MockBehavior.Default);"""],
["""_ = new Mock<Calculator>(() => new Calculator());"""],
}.WithNamespaces().WithMoqReferenceAssemblyGroups();
}

Expand Down

0 comments on commit 0d618c7

Please sign in to comment.