Frames | No Frames |
final String name = "NAME"; final StringBuffer buffer = new StringBuffer(); mock.expect("describeTo", C.args(C.same(buffer))), new CustomStub("appends name to buffer") { public Object invoke( Invocation invocation ) throws Throwable { return buffer.append(name); } } );
Null
objects.Null
object's hashCode.true
.Object.equals
invokedMethod?
EventObject
announced by source
.Comparable
value?
Comparable
value?
Null
object with
the default description.Null
object and
sets it's description.Invokable
object.Null
object.Verifiable
fields of an object.TestCase
that verifies Verifiable
fields and registered Verifiable objects after the test has run and before the fixture
has been torn down.