@Test
public void filterMethodTest() {

    Mockito.when(settings.methodFilter()).thenReturn(new MethodFilter() {
        @Override
        public boolean shouldGenerateMethod(Class<?> parentClass, Method method) {
            return false;
        }
    });
    ServiceModel model = serviceClassParser.parseServiceClass(SimpleService1.class, settings);
    assertEquals("SimpleService1", model.name());
    InnerServiceModel innerService1 = ImmutableInnerServiceModel.builder()
                                                                .servicePath("simple1")
                                                                .name("SimpleService1")
                                                                .build();
    ServiceModel expectedServiceModel = ImmutableServiceModel.builder()
                                                             .addInnerServiceModels(innerService1)
                                                             .name("SimpleService1")
                                                             .build();
    assertEquals(expectedServiceModel, model);
}