### Question:
FilterFactories { public static Filter createFilter(String filterFactoryFqcn, FilterFactoryParams params) throws FilterFactory.FilterNotCreatedException { FilterFactory filterFactory = createFilterFactory(filterFactoryFqcn); return filterFactory.createFilter(params); }  static Filter createFilterFromFilterSpec(Request request, String filterSpec); static Filter createFilter(String filterFactoryFqcn, FilterFactoryParams params); static Filter createFilter(Class<? extends FilterFactory> filterFactoryClass, FilterFactoryParams params);  }### Answer:
@Test public void shouldCreateFilter() throws Exception { Filter filter = FilterFactories.createFilter( FilterFactoryStub.class, new FilterFactoryParams( Description.createSuiteDescription(testName.getMethodName()), "")); assertThat(filter, instanceOf(DummyFilter.class)); }