@Test
void test_validate_invalid_route_table() throws ConfigurationException {

    AzureProbeMonitorConfiguration azureProbeMonitorConfiguration =
        new AzureProbeMonitorConfiguration(azureConfiguration,
            nvaConfigurations, routeTables, publicIpAddresses,
            null, null, null);
    AzureClient azureClient = mock(AzureClient.class);
    when(azureClient.checkExistenceById(contains("network-interface")))
        .thenReturn(true);
    when(azureClient.checkExistenceById(contains("public-ip-address")))
        .thenReturn(true);
    NetworkInterface networkInterface = mock(NetworkInterface.class);
    when(networkInterface.primaryPrivateIp())
        .thenReturn("127.0.0.1")
        .thenReturn("127.0.0.2");
    when(azureClient.getNetworkInterfaceById(anyString()))
        .thenReturn(networkInterface);
    Assertions.assertThrows(ConfigurationException.class,
        () -> azureProbeMonitorConfiguration.validate(azureClient));
}