@Test
public void testSimpleSequence() throws IOException {

	Plan plan = PlanBuilder.create()
			.startBlock(sequence())
				.add(checkArtefact(ReportNodeStatus.PASSED))
				.startBlock(sequence())
					.add(checkArtefact(ReportNodeStatus.PASSED))
					.add(checkArtefact(ReportNodeStatus.PASSED))
				.endBlock()
				.add(checkArtefact(ReportNodeStatus.FAILED))
				.add(checkArtefact(ReportNodeStatus.FAILED, "my message"))
				.add(checkArtefact(ReportNodeStatus.TECHNICAL_ERROR))
				.startBlock(testCase("TC - TECH_ERROR with message"))
					.add(checkArtefact(ReportNodeStatus.TECHNICAL_ERROR, "My error message"))
				.endBlock()
				.add(checkArtefact(ReportNodeStatus.SKIPPED))
				.add(checkArtefact(ReportNodeStatus.NORUN))
				.add(checkArtefact(ReportNodeStatus.INTERRUPTED))
			.endBlock().build();
	
	File report = new File("TEST-JUnit4ReportWriterTest-testSimpleSequence.xml");
	report.deleteOnExit();
	
	ExecutionEngine engine = ExecutionEngine.builder().withPlugin(new BaseArtefactPlugin()).build();
	engine.execute(plan).writeReport(new JUnit4ReportWriter(), report);
	
	PlanRunnerResultAssert.assertEquals(this.getClass(), "TEST-JUnit4ReportWriterTest-testSimpleSequence-expected.xml", report, "time=\".+?\"");
}