mocking - How to assert no other methods are invoked on a Unitils Mock -
i aware of mockunitils.assertnomoreinvocations();
, how achieve similar effect 1 mock object?
i doing kind-of black box testing on methods. know list of methods may call on mocks, have make sure absolutely won't call other methods.
it seems i'll need assertoptionallyinvoked()
or assertnootherinovations()
on mocks. possible unitils?
solved implementing own scenario class.
Comments
Post a Comment