@Test
public void testGetAllDependencies() {

  ParameterDependencyGraph paramDepGrap = new ParameterDependencyGraph( "param1", "param2" );
  paramDepGrap.setAllParametersProcessed( false );
  assertEquals( paramDepGrap.getAllDependencies( "param1" ), asSet( "param1", "param2" ) );
  paramDepGrap.setAllParametersProcessed( true );
  assertEquals( paramDepGrap.getAllDependencies( asSet( "param1", "param1" ) ), Collections.emptySet() );
}