hasRequiredAttributes() public method

public hasRequiredAttributes ( ) : bool
return bool
Ejemplo n.º 1
0
 public void test_L3_SpeciesReference_hasRequiredAttributes()
 {
     SpeciesReference sr = new  SpeciesReference(3,1);
       assertEquals( false, sr.hasRequiredAttributes() );
       sr.setSpecies( "id");
       assertEquals( false, sr.hasRequiredAttributes() );
       sr.setConstant(false);
       assertEquals( true, sr.hasRequiredAttributes() );
       sr = null;
 }
Ejemplo n.º 2
0
 public void test_SpeciesReference()
 {
     SpeciesReference sr = new SpeciesReference(2,4);
       assertEquals( false, (sr.hasRequiredAttributes()) );
       sr.setSpecies("sr");
       assertEquals( true, sr.hasRequiredAttributes() );
       sr = null;
 }