final List<StubHttpLifecycle> loadedHttpCycles = unmarshall(String.format("%s%s%s%s%s", cycleOne, BR, cycleTwo, BR, cycleThree));
assertThat(loadedHttpCycles.size()).isEqualTo(3);
for (int resourceId = 0; resourceId < loadedHttpCycles.size(); resourceId++) {
final StubHttpLifecycle cycle = loadedHttpCycles.get(resourceId);
final List<StubResponse> allResponses = cycle.getAllResponses();
for (int sequence = 0; sequence < allResponses.size(); sequence++) {
final StubResponse sequenceStubResponse = allResponses.get(sequence);
assertThat(sequenceStubResponse.getHeaders()).containsKey(StubResponse.STUBBY_RESOURCE_ID_HEADER);
assertThat(sequenceStubResponse.getHeaders().get(StubResponse.STUBBY_RESOURCE_ID_HEADER)).isEqualTo(String.valueOf(resourceId));