@Test
public void testEquals() {

	ErrorDetails ed1 = ErrorDetails.component( "c1" );
	ErrorDetails ed2 = ErrorDetails.instance( "c1" );
	ErrorDetails ed3 = ErrorDetails.component( "c2" );
	Assert.assertNotEquals( ed1, ed2 );
	Assert.assertNotEquals( ed3, ed2 );
	Assert.assertNotEquals( ed1, ed3 );
	Assert.assertEquals( ed1, ErrorDetails.component( "c1" ));
	Assert.assertNotEquals( ed1, null );
	Assert.assertNotEquals( ed1, new Object());
}