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