### Question:
Ducc implements UniqueColumnCombinationsAlgorithm, RelationalInputParameterAlgorithm,
                             BooleanParameterAlgorithm { @Override public void setRelationalInputConfigurationValue(String identifier, RelationalInputGenerator... values) throws AlgorithmConfigurationException { if (identifier.equals(INPUT_HANDLE)) { inputGenerator = values[0]; } else { throw new AlgorithmConfigurationException("Operation should not be called"); } } Ducc(); @Override ArrayList<ConfigurationRequirement<?>> getConfigurationRequirements(); @Override void setRelationalInputConfigurationValue(String identifier, RelationalInputGenerator... values); @Override void execute(); @Override void setResultReceiver(UniqueColumnCombinationResultReceiver receiver); @Override void setBooleanConfigurationValue(String identifier, Boolean... values); @Override String getAuthors(); @Override String getDescription();  }### Answer:
@Test public void testSetConfigurationValueStringSimpleRelationalInputGenerator() throws AlgorithmConfigurationException { RelationalInputGenerator expectedInputGenerator = mock(RelationalInputGenerator.class); ducc.setRelationalInputConfigurationValue(Ducc.INPUT_HANDLE, expectedInputGenerator); assertEquals(expectedInputGenerator, ducc.inputGenerator); }
@Test public void testSetConfigurationValueStringSimpleRelationalInputGeneratorFail() throws AlgorithmConfigurationException { RelationalInputGenerator expectedInputGenerator = mock(RelationalInputGenerator.class); try { ducc.setRelationalInputConfigurationValue("wrong identifier", expectedInputGenerator); fail("UnsupportedOperationException was expected but was not thrown"); } catch (AlgorithmConfigurationException e) { } assertEquals(null, ducc.inputGenerator); }