@Test
public void testGetDependentParameterFor() {

  ParameterDependencyGraph paramDepGrap = new ParameterDependencyGraph( "param1", "param2" );
  assertEquals( paramDepGrap.getDependentParameterFor( "param1" ), asSet() );
  paramDepGrap.setAllParametersProcessed( true );
  LinkedHashMap<String, Set<String>> dependencyGraph = new LinkedHashMap<>();
  dependencyGraph.put( "param1", asSet( "param2", "param3" ) );
  paramDepGrap.setDependencyGraph( dependencyGraph );
  assertEquals( paramDepGrap.getDependentParameterFor( "param1" ), asSet( "param2", "param3" ) );
  paramDepGrap.setAllParametersProcessed( false );
  assertEquals( paramDepGrap.getDependentParameterFor( "param2" ), Collections.emptySet() );
}