assertEquals(mock._getIdentifier(), mock.toString());
}
// Javadoc inherited.
protected MockObject createCheckingMock() {
final InterfaceWithToStringMock toStringMock =
new InterfaceWithToStringMock("toStringMock",
expectations);
toStringMock.configuration.setToStringShouldCheckExpectations(true);
return toStringMock;
}