@Test | |
public void testCheckIfTrainingCompletedReturnsBooleanTrue() throws Exception { | |
boolean trainingStatus; | |
boolean trainingSuccessfulyComplete = true; | |
trainingStatus = trainingSuccessfulyComplete; | |
assertEquals(trainingStatus, trainingSuccessfulyComplete); | |
} | |
@Test | |
public void testCheckIfTrainingCompletedReturnsBooleanFalse() throws Exception { | |
boolean trainingStatus; | |
boolean trainingNotCompleted = false; | |
trainingStatus = trainingNotCompleted; | |
assertEquals(trainingStatus, trainingNotCompleted); | |
} | |
@Test | |
public void testTrainingHeaderIsNull() throws Exception { | |
TrainingEntry trainingEntry = null; | |
assertNull(trainingEntry); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment