ZTS extends ResourceConfig { public ZTS() { register(JsonGeneralExceptionMapper.class, 1); register(JsonMappingExceptionMapper.class, 1); register(JsonParseExceptionMapper.class, 1); register(JsonProcessingExceptionMapper.class, 1); register(ZTSResources.class); register(new ZTSBinder()); } ZTS();   }
@Test public void testZTS() { ZTS zts = new ZTS(); assertNotNull(zts); }