@Test
void test_validate_invalid_probe_network_interfaces() {

    AzureClient azureClient = mock(AzureClient.class);
    List<NamedResourceId> networkInterfaces = new ArrayList<>();
    networkInterfaces.add(new NamedResourceId("nic1", "nic1-id"));
    NvaConfiguration nvaConfiguration = new NvaConfiguration("probe-network-interface",
        1234, networkInterfaces);
    when(azureClient.checkExistenceById(anyString()))
        .thenReturn(true);
    when(azureClient.getNetworkInterfaceById(anyString()))
        .thenReturn(null);
    Assertions.assertThrows(ConfigurationException.class,
        () -> nvaConfiguration.validate(azureClient));
}