    @Test
    public void when_path_different_and_method_equal_then_MappingPatterns_are_NOT_equal() throws Exception {

        // GIVEN
        String path = "/v0.1/me";
        Pattern p1 = Pattern.compile(path);
        MappingPattern pattern1 = new MappingPattern(p1, "GET");
        Pattern p2 = Pattern.compile(path + "/emails");
        MappingPattern pattern2 = new MappingPattern(p2, "GET");

        // WHEN
        boolean equals = pattern1.equals(pattern2);

        // THEN
        assertFalse(equals);
    }