@Test
public void throwsResourcePublicationExceptionWhenResourceClassIsNotAnnotatedWithPathAnnotation() throws Exception {

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