you could make sure that the lambda is actually being called, otherwise the test would always pass as there is only an assertion inside the lambda.