@Test
public void testHashCode() throws Exception {

	Assert.assertEquals("Not equal", new MethodEndpoint(this, method).hashCode(), endpoint.hashCode());
	Method otherMethod = getClass().getMethod("testEquals");
	Assert.assertFalse("Equal", new MethodEndpoint(this, otherMethod).hashCode() == endpoint.hashCode());
}