@Test
public void triggerRequestResponse() throws Exception {
when(request.execute()).thenReturn(response);
when(taxiiStatusDao.find(anyString())).thenReturn(feed);
XMLGregorianCalendar cal = datatypeFactory.newXMLGregorianCalendar("2000-01-02T03:04:05.006+00:00");
<BUG>TaxiiPollResponse pollResponse = TaxiiPollResponse.builder().multipart(false).inclusiveEndTime(cal).build();
when(responseTransformer.transform(any(ClientHttpResponse.class))).thenReturn(pollResponse);</BUG>
task.run();
verify(requestFactory).createPollRequest(anyString(), any(TaxiiStatus.Feed.class));
verify(request).execute();

@Test
public void triggerRequestResponse() throws Exception {
when(request.execute()).thenReturn(response);
when(taxiiStatusDao.find(anyString())).thenReturn(feed);
XMLGregorianCalendar cal = datatypeFactory.newXMLGregorianCalendar("2000-01-02T03:04:05.006+00:00");
TaxiiPollResponse pollResponse = TaxiiPollResponse.builder().inclusiveEndTime(cal).build();
when(responseTransformer.transform(any(ClientHttpResponse.class))).thenReturn(pollResponse);
task.run();
verify(requestFactory).createPollRequest(anyString(), any(TaxiiStatus.Feed.class));
verify(request).execute();
