Package org.jmock.internal
Class ObjectMethodExpectationBouncer
- java.lang.Object
-
- org.jmock.internal.FakeObjectMethods
-
- org.jmock.internal.ObjectMethodExpectationBouncer
-
- All Implemented Interfaces:
Invokable
public class ObjectMethodExpectationBouncer extends FakeObjectMethods
-
-
Constructor Summary
Constructors Constructor Description ObjectMethodExpectationBouncer(Invokable next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.IllegalArgumentException
cannotDefineExpectation()
protected boolean
fakeEquals(java.lang.Object invokedObject, java.lang.Object other)
protected void
fakeFinalize(java.lang.Object invokedObject)
protected int
fakeHashCode(java.lang.Object invokedObject)
protected java.lang.String
fakeToString(java.lang.Object invokedObject)
-
Methods inherited from class org.jmock.internal.FakeObjectMethods
invoke, toString
-
-
-
-
Constructor Detail
-
ObjectMethodExpectationBouncer
public ObjectMethodExpectationBouncer(Invokable next)
-
-
Method Detail
-
fakeEquals
protected boolean fakeEquals(java.lang.Object invokedObject, java.lang.Object other)
- Specified by:
fakeEquals
in classFakeObjectMethods
-
fakeFinalize
protected void fakeFinalize(java.lang.Object invokedObject)
- Specified by:
fakeFinalize
in classFakeObjectMethods
-
fakeHashCode
protected int fakeHashCode(java.lang.Object invokedObject)
- Specified by:
fakeHashCode
in classFakeObjectMethods
-
fakeToString
protected java.lang.String fakeToString(java.lang.Object invokedObject)
- Specified by:
fakeToString
in classFakeObjectMethods
-
cannotDefineExpectation
private java.lang.IllegalArgumentException cannotDefineExpectation()
-
-