@Test
public void testGetInstanceTypeConfigsWhenInputListContainsNullElement()
{

    // Create objects required for testing with a list of emrClusterDefinitionInstanceTypeConfigs having a null element.
    List<EmrClusterDefinitionInstanceTypeConfig> emrClusterDefinitionInstanceTypeConfigs = new ArrayList<>();
    emrClusterDefinitionInstanceTypeConfigs.add(null);
    // Call the method under test.
    List<InstanceTypeConfig> result = emrDaoImpl.getInstanceTypeConfigs(emrClusterDefinitionInstanceTypeConfigs);
    // Verify the external calls.
    verifyNoMoreInteractionsHelper();
    // Validate the results.
    assertEquals(new ArrayList<>(), result);
}