@Test
public void doesNotFilterNonJson() throws Exception {

    String valid = getResource("/cars-array.json").trim();
    String invalid = valid.substring(0, valid.length() - 1);
    String filtered = getFilter("cars").filter("application/xml", invalid);
    assertThat(filtered, containsString("Ford"));
}