Skip to content

Commit

Permalink
Rewritten matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Damtev committed Jul 10, 2023
1 parent e73c9e0 commit 41dee9f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ internal class ObjectWithPrimitivesExampleTest : JavaMethodTestRunner() {
checkDiscoveredProperties(
ObjectWithPrimitivesExample::ignoredInputParameters,
eq(1),
{ _, fst, snd, r -> fst == null && snd == null && r != null }
{ _, _, _, r ->
val instanceWithDefaultValues = ObjectWithPrimitivesClass()

r == instanceWithDefaultValues
}
)
}

Expand Down

0 comments on commit 41dee9f

Please sign in to comment.