Buggy code:
public class ArrayFrontTest { private static final double EPSILON = 1.0E-13 ; @ Rule public ExpectedException exception = ExpectedException . none ( ) ; @ Test public void shouldDefaultConstructorCreateAnEmptyArrayFront ( ) { } @ Test ( expected = JMetalException . class ) public void shouldCreateAnArrayFrontFromANullListRaiseAnAnException ( ) { } @ Test ( expected = JMetalException . class ) public void shouldCreateAnArrayFrontFromAnEmptyListRaiseAnException ( ) { } @ Test public void shouldCreateAnArrayFrontFromAListOfSolutionsHavingOneDoubleSolutionObject ( ) { } @ Test public void shouldCreateAnArrayFrontFromAListOfSolutionsHavingTwoDoubleSolutionObject ( ) { } @ Test public void shouldCreateAnArrayFrontFromAListOfSolutionsHavingOneSingleSolutionObject ( ) { } @ Test ( expected = JMetalException . class ) public void shouldCreateAnArrayFrontFromANullFrontRaiseAnException ( ) { } @ Test ( expected = JMetalException . class ) public void shouldCreateAnArrayFrontFromAnEmptyFrontRaiseAnException ( ) { } @ Test public void shouldCreateAnArrayFrontFromASolutionListResultInTwoEqualsFronts ( ) { } @ Test public void shouldCreateAnArrayFrontFromAnotherFrontResultInTwoEqualsFrontssss ( ) { } @ Test public void shouldSetPointRaiseAnExceptionWhenThePointIsNull ( ) { } @ Test public void shouldSetPointRaiseAnExceptionWhenTheIndexIsNegative ( ) { } @ Test public void shouldSetPointRaiseAnExceptionWhenTheIndexIsGreaterThanTheFrontSize ( ) { } @ Test public void shouldSetPointAssignTheCorrectObject ( ) { } @ Test public void shouldGetPointRaiseAnExceptionWhenTheIndexIsNegative ( ) { } @ Test public void shouldGetPointRaiseAnExceptionWhenTheIndexIsGreaterThanTheFrontSize ( ) { } @ Test public void shouldGetPointReturnTheCorrectObject ( ) { } @ Test public void shouldEqualsReturnTrueIfTheArgumentIsTheSameObject ( ) { } @ Test public void shouldEqualsReturnFalseIfTheArgumentIsNull ( ) { } @ Test public void shouldEqualsReturnFalseIfTheArgumentIsFromAWrongClass ( ) { } @ Test public void shouldEqualsReturnTrueIfTheArgumentIsEqual ( ) { } @ Test public void shouldEqualsReturnFalseIfTheComparedFrontHasADifferentNumberOfPoints ( ) { } @ Test public void shouldEqualsReturnFalseIfPointDimensionsOfTheFrontsIsDifferent ( ) { } @ Test public void shouldEqualsReturnFalseIfTheFrontsAreDifferent ( ) { } @ Test public void shouldSortReturnAnOrderedFront ( ) { } <START_BUG> @ Test ( expected = NullPointerException . class ) <END_BUG> public void shouldCreateInputStreamThrownAnExceptionIfFileDoesNotExist ( ) throws FileNotFoundException { String fileName = "abcdefadg" ; Front front = new ArrayFront ( ) ; front . readFrontFromFile ( fileName ) ; } @ Test public void shouldReadFrontAnEmptyFileCreateAnEmptyFront ( ) throws FileNotFoundException { } @ Test public void shouldReadFrontAFileWithOnePointCreateTheCorrectFront ( ) throws FileNotFoundException { } @ Test ( expected = JMetalException . class ) public void shouldReadFrontWithALineContainingWrongDataRaiseAnException ( ) throws FileNotFoundException , JMetalException { } @ Test public void shouldReadFrontWithALineWithALineMissingDataRaiseAnException ( ) throws FileNotFoundException , JMetalException { } @ Test public void shouldReadFrontFourPointsCreateTheCorrectFront ( ) throws FileNotFoundException , JMetalException { } private class MockDoubleProblem extends AbstractDoubleProblem { public MockDoubleProblem ( Integer numberOfObjectives ) { } @ Override public void evaluate ( DoubleSolution solution ) { } } private class MockIntegerProblem extends AbstractIntegerProblem { public MockIntegerProblem ( Integer numberOfObjectives ) { } @ Override public void evaluate ( IntegerSolution solution ) { } } }

Fix:
@ Test ( expected = FileNotFoundException . class )