    @Test
    public void describeToDoesntThrowNPE() {

        // bugfix for issue #47
        
        hasJsonPath = new HasJsonPath<Object>("$.foo");
        StringDescription sd = new StringDescription();
        hasJsonPath.describeTo(sd);
        
        assertThat(sd.toString(), is("a JSON object matching JSONpath \"$.foo\""));
        
    }