hasRequiredAttributes() публичный Метод

public hasRequiredAttributes ( ) : bool
Результат bool
Пример #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;
 }
Пример #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;
 }