@Test
public void throwsResourcePublicationExceptionWhenResourceIsNotAnnotatedWithPathAnnotation() throws Exception {

    thrown.expect(ResourcePublicationException.class);
    resourceBinder.addResource(new NoPathAnnotationResource(), new MultivaluedHashMap<>());
}