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

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -