@Test
public void noResourceIdAnnotationTest() throws Exception {

    when(resourceInfo.getResourceMethod()).thenReturn(MockNoResourceIdClass.class.getDeclaredMethod("noResourceId"));
    filter.filter(context);
    Mockito.verify(pdp, never()).createRequest(any(), any(), any(), any(), any(), any());
}