ObjectFactory { public BlacklistedCommandsScanner blacklistedCommandsScanner() { return new BlacklistedCommandsScanner(cdiInstanceResolver()); }  CdiInstanceResolver cdiInstanceResolver(); SystemCommandHandlerProxyFactory systemCommandHandlerProxyFactory(); BlacklistedCommandsScanner blacklistedCommandsScanner(); HandlerMethodValidator handlerMethodValidator(); BlacklistedCommandsFilter blacklistedCommandsFilter(); SystemCommandProxyResolver systemCommandProxyResolver(); SystemCommandHandlerScanner systemCommandScanner();  }
@Test public void shouldCreateBlacklistedCommandsScanner() throws Exception { assertThat(objectFactory.blacklistedCommandsScanner(), is(notNullValue())); }