public void assertNotSame ( Description description , Object actual , Object other ) { if ( actual == other ) { String format = "expected not same:<%s>" ; throw failures . failure ( description , new BasicErrorMessageFactory ( format , actual ) ) ; } }
Asserts that two objects do not refer to the same instance .