@Test
public void testSubResourceFeature() throws Exception {
final ApplicationHandler application = createApplication(SubResourceDynamicFeature.class);
ContainerResponse response;
response = application.apply(RequestContextBuilder.from("/resource/sub", "GET").build()).get();
assertEquals(200, response.getStatus());
assertEquals("sub-get-filtered", response.getEntity());
response = application.apply(RequestContextBuilder.from("/resource", "GET").build()).get();
assertEquals(200, response.getStatus());
assertEquals("get", response.getEntity());
}