objects.assertSame(mock(Description.class), actual, actual);
}
@Test
public void should_fail_if_objects_are_not_same() {
Description description = new TestDescription("Testing");
try {
objects.assertSame(description, "Yoda", "Luke");
} catch (AssertionError e) {
assertEquals("[Testing] expected:<'Luke'> and actual:<'Yoda'> should refer to the same instance", e.getMessage());
verify(failures).failure(same(description), any(ErrorMessageFactory.class));