Package org.opendaylight.yangtools.testutils.mockito
package org.opendaylight.yangtools.testutils.mockito
-
ClassDescriptionMockito Answer which for un-stubbed methods forwards the call to the real method if it is implemented on the mocked object (i.e. not an interface or abstract method), and otherwise throws an
UnstubbedMethodException
, like theThrowsMethodExceptionAnswer
.Nicer shorter toString() forMethod
than it's default.MoreAnswer
variants.Mockito Answer which for un-stubbed methods throws an UnstubbedMethodException (instead of Mockito's default of returning null).Exception to be thrown on unstubbed method calls.