@Test
public void equalsTest() {

    assertEquals(HttpMethod.valueOf("GET"), HttpMethod.valueOf("GET"));
    assertEquals(HttpMethod.GET, HttpMethod.GET);
    assertNotEquals(HttpMethod.valueOf("GET"), HttpMethod.valueOf("PUT"));
    assertNotEquals(HttpMethod.GET, HttpMethod.PUT);
}