@Test
public void testGenerateFronts() {

	NonDominatedFronts fronts = new NonDominatedFronts(getIndividualSet());
	assertEquals(4, fronts.getFrontNumber());
	assertEquals(3, fronts.getFrontAtIndex(0).size());
	assertTrue(fronts.getFrontAtIndex(0).contains(first));
	assertTrue(fronts.getFrontAtIndex(0).contains(second));
	assertTrue(fronts.getFrontAtIndex(0).contains(third));
	assertEquals(1, fronts.getFrontAtIndex(1).size());
	assertTrue(fronts.getFrontAtIndex(1).contains(fourth));
	assertEquals(1, fronts.getFrontAtIndex(2).size());
	assertTrue(fronts.getFrontAtIndex(2).contains(fifth));
}