final List<StubHttpLifecycle> loadedHttpCycles = loadYamlToDataStore(rawYaml);
assertThat(loadedHttpCycles.size()).isEqualTo(NUMBER_OF_HTTPCYCLES);
final StubHttpLifecycle actualHttpLifecycle = loadedHttpCycles.get(498);
final StubRequest actualRequest = actualHttpLifecycle.getRequest();
final StubResponse actualResponse = actualHttpLifecycle.getResponse(true);
assertThat(actualRequest.getUrl()).contains(String.format("%s/%s", baseRequestUrl, 499));
assertThat(actualRequest.getUrl()).contains(String.format("%s=%s", expectedParamOne, 499));
assertThat(actualRequest.getUrl()).contains(String.format("%s=%s", expectedParamTwo, 499));
final MapEntry headerEntry = MapEntry.entry(expectedHeaderKey, expectedHeaderValue);
assertThat(actualResponse.getHeaders()).contains(headerEntry);
}