@SuppressWarnings("unchecked") @Test public void testDeploymentModule() { LOG.info("testDeploymentModule"); MockitoAnnotations.initMocks(this); doNothing().when(mockAnnotatedBindingBuilder).asEagerSingleton(); doNothing().when(mockLinkedBindingBuilder).asEagerSingleton(); doNothing().when(mockLinkedBindingBuilder).toInstance(String.class); when(mockBinder.skipSources(Names.class)).thenReturn(mockBinder); when(mockBinder.bind(any(Key.class))).thenReturn(mockLinkedBindingBuilder); when(mockBinder.bind(any(Class.class))).thenReturn(mockAnnotatedBindingBuilder); final DeploymentModule deploymentModule = new DeploymentModule(); deploymentModule.configure(mockBinder); Assert.assertNotNull(deploymentModule); }
public DeploymentModule() { super( "classpath:speedtools.default.properties", "classpath:mapcode.properties", "classpath:mapcode-secret.properties"); }
DeploymentModule extends GuiceConfigurationModule { public DeploymentModule() { super( "classpath:speedtools.default.properties", "classpath:mapcode.properties", "classpath:mapcode-secret.properties"); } }
DeploymentModule extends GuiceConfigurationModule { public DeploymentModule() { super( "classpath:speedtools.default.properties", "classpath:mapcode.properties", "classpath:mapcode-secret.properties"); } DeploymentModule(); }
DeploymentModule extends GuiceConfigurationModule { public DeploymentModule() { super( "classpath:speedtools.default.properties", "classpath:mapcode.properties", "classpath:mapcode-secret.properties"); } DeploymentModule(); @Override void configure(@Nonnull final Binder binder); }
DeploymentModule extends GuiceConfigurationModule { public DeploymentModule() { super( "classpath:speedtools.default.properties", "classpath:mapcode.properties", "classpath:mapcode-secret.properties"); } DeploymentModule(); @Override void configure(@Nonnull final Binder binder);  }