### Question:
ClassPair implements Comparable<ClassPair> { public List<Integer> getListOfObjectivesValue(){ List<Integer> result = Arrays.asList(new Integer[]{this.callScore1, this.callScore2, this.numberOfBranchesInClass1, this.numberOfBranchesInClass2 }); return result; } ClassPair(String class1, String class2, int score1, int score2); @Override boolean equals(Object obj); @Override int compareTo(ClassPair otherPair); String getClass1(); String getClass2(); int getCallScore1(); int getCallScore2(); int getTotalScore(); int getNumberOfBranchesInClass1(); int getNumberOfBranchesInClass2(); void addTonumberOfBranches(String className, int value); List<Integer> getListOfObjectivesValue();  }### Answer:
@Test public void testListOfObjectives(){ List<Integer> expectedReult = Arrays.asList( new Integer[]{1, 5, 0, 0 }); Assert.assertEquals(expectedReult, classPair.getListOfObjectivesValue()); }