assertTrue("Equal to self", equalsMock.equals(equalsMock));
}
// Javadoc inherited.
protected MockObject createCheckingMock() {
final InterfaceWithEqualsMock equalsMock =
new InterfaceWithEqualsMock("equalsMock", expectations);
equalsMock.configuration.setEqualsShouldCheckExpectations(true);
return equalsMock;
}