ZMS extends ResourceConfig { public ZMS() { register(JsonGeneralExceptionMapper.class, 1); register(JsonMappingExceptionMapper.class, 1); register(JsonParseExceptionMapper.class, 1); register(JsonProcessingExceptionMapper.class, 1); register(ZMSResources.class); register(new ZMSBinder()); } ZMS();   }
@Test public void testZMS() { ZMS zms = new ZMS(); assertNotNull(zms); }