/** * Test if a JSON file containing a Feature can be indexed * @param context the current test context * @throws IOException if the JSON file could not be read */ @Test public void feature(TestContext context) throws IOException { Map<String, Object> expected = ImmutableMap.of( "name", "My Feature", "location", "Moon", "owner", "Elvis", "year", "2016", "solid", "true" ); assertIndexed(expected, "feature.json", context); } }