@SuppressWarnings("unchecked")
@Test
public void testDeploymentModule() {

    LOG.info("testDeploymentModule");
    // Initialize Mockito.
    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);
    // Execute start-up check.
    final DeploymentModule deploymentModule = new DeploymentModule();
    deploymentModule.configure(mockBinder);
    Assert.assertNotNull(deploymentModule);
}