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