@Test
public void testFindSourceNatIPNonPublicNw() throws InsufficientAddressCapacityException, ConcurrentOperationException {

    // Prepare
    final PublicIp sourceNatIp = mock(PublicIp.class);
    when(mockIpAddrMgr.assignSourceNatIpAddressToGuestNetwork(
            mockOwner, mockNw)).thenReturn(sourceNatIp);
    deployment.isPublicNetwork = false;
    // It should be null until this method finds it
    assertNull(deployment.sourceNatIp);
    // Execute
    deployment.findSourceNatIP();
    // Assert
    assertEquals("SourceNatIP should remain null given a non public network",
            null, deployment.sourceNatIp);
}