String differentRoot = FILE_SOURCE_ROOT + separator + "differentRoot";
writeFile(differentRoot + separator + underFiles("test-1.xml"), "<content>Blah</content>");
startRunner("--root-dir", differentRoot);
WireMockResponse response = testClient.get("/test-1.xml");
assertThat(response.statusCode(), is(200));
assertThat(response.content(), is("<content>Blah</content>"));
assertThat(response.firstHeader("Content-Type"), is("application/xml"));
}
@Test
public void servesFileAsJsonWhenNoFileExtension() {