assertThat(testSuite.getTestCases(), hasSize(1));
assertEquals(testSuite.getTestCases().get(0), testCase);
Step parentStep = fireStepStart();
Attachment firstAttach = fireMakeAttachment();
assertThat(parentStep.getAttachments(), hasSize(1));
assertEquals(parentStep.getAttachments().get(0), firstAttach);
Step nestedStep = fireStepStart();
Attachment secondAttach = fireMakeAttachment();
assertFalse(firstAttach == secondAttach);
assertThat(nestedStep.getAttachments(), hasSize(1));
assertTrue(nestedStep.getAttachments().get(0) == secondAttach);
fireStepFinished();
assertThat(parentStep.getSteps(), hasSize(1));
assertEquals(parentStep.getSteps().get(0), nestedStep);
fireStepFinished();
Attachment testCaseAttachment = fireMakeAttachment();
fireTestCaseFinished();
assertThat(testCase.getSteps(), hasSize(1));
assertEquals(testCase.getSteps().get(0), parentStep);