@Test
public void testEquals() throws Exception {

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