    @Test
    public void simpleObjectMatch() throws Exception {

        assertPattern("{\"foo\":\"bar\"}").matches("{\"foo\":\"bar\"}");
        assertPattern("{\"foo\":\"bar\"}").doesNotMatch("{\"foo\":\"blah\"}");
        assertPattern("{\"foo\":\"bar\"}").doesNotMatch("{\"foo2\":\"bar\"}");
        assertPattern("{\"foo\":\"bar\"}").doesNotMatch("{}");
    }