@Before public void setUp() { okTestResult = new TestResult(StatusValues.OK, 1); okTestResult.setDescription("- First test"); notOkTestResult = new TestResult(); notOkTestResult.setStatus(StatusValues.NOT_OK); notOkTestResult.setTestNumber(2); okTestResultSkip = new TestResult(StatusValues.NOT_OK, 3); Directive skipDirective = new Directive(DirectiveValues.SKIP, "Skip it until next release of the produce."); okTestResultSkip.setDirective(skipDirective); final Comment comment = new Comment("This status is set to true in another method."); comment.setInline(Boolean.TRUE); okTestResultSkip.addComment(comment); }