@Test
public void testGetNumberOfRoutersToDeploy() {

    // Prepare
    deployment.routers = new ArrayList<>(); // Empty list
    // Execute and assert
    assertEquals(NUMBER_OF_ROUTERS_TO_DEPLOY_IS_NOT_THE_EXPECTED,
            1, deployment.getNumberOfRoutersToDeploy());
    // Execute and assert, just the same but for redundant deployment
    when(mockNw.isRedundant()).thenReturn(true);
    assertEquals(NUMBER_OF_ROUTERS_TO_DEPLOY_IS_NOT_THE_EXPECTED,
            2, deployment.getNumberOfRoutersToDeploy());
    // Just the same, instead of an empty list, a 1 items list
    deployment.routers.add(mock(DomainRouterVO.class));
    when(mockNw.isRedundant()).thenReturn(false);
    assertEquals(NUMBER_OF_ROUTERS_TO_DEPLOY_IS_NOT_THE_EXPECTED,
            0, deployment.getNumberOfRoutersToDeploy());
    when(mockNw.isRedundant()).thenReturn(true);
    assertEquals(NUMBER_OF_ROUTERS_TO_DEPLOY_IS_NOT_THE_EXPECTED,
            1, deployment.getNumberOfRoutersToDeploy());
}