public void testLastBuildWhenResponseIs2xx() {
HttpResponse lastBuildResponse = HttpResponse.builder().statusCode(200)
.payload(payloadFromResource("/lastBuild.json")).build();
JenkinsApi apiWhenJobExists = requestSendsResponse(lastBuild, lastBuildResponse);
assertEquals(apiWhenJobExists.getJobApi().lastBuild("ddd").toString(),
new LastBuildTest().expected().toString());
}