@Test public void getObjectivesTest() { Individual individual = new Individual(); Objectives o = new Objectives(); individual.setObjectives(o); Assert.assertTrue(o == individual.getObjectives()); Assert.assertEquals(State.EVALUATED, individual.getState()); Assert.assertTrue(individual.isEvaluated()); }
public Objectives getObjectives() { return objectives; }
Individual { public Objectives getObjectives() { return objectives; } }
Individual { public Objectives getObjectives() { return objectives; } @Inject protected  Individual(); }
Individual { public Objectives getObjectives() { return objectives; } @Inject protected  Individual(); Object getPhenotype(); Objectives getObjectives(); Genotype getGenotype(); void setGenotype(Genotype genotype); void setPhenotype(Object phenotype); void setObjectives(Objectives objectives); boolean isDecoded(); boolean isEvaluated(); void setState(State state); State getState(); }
Individual { public Objectives getObjectives() { return objectives; } @Inject protected  Individual(); Object getPhenotype(); Objectives getObjectives(); Genotype getGenotype(); void setGenotype(Genotype genotype); void setPhenotype(Object phenotype); void setObjectives(Objectives objectives); boolean isDecoded(); boolean isEvaluated(); void setState(State state); State getState();  }