@Test
public void testGenerateRequest() throws SyntaxException{

	RequestGenerator sut=spy(requestGenerator);
	RequestType request=mock(RequestType.class);
	doReturn(request).when(sut).unmarshalRequest(any(InputStream.class));
	when(sut.getDate()).thenReturn("2013-12-23T14:48:07-0500");
	sut.generateRequest("123", "456", "TREAT", "789");
	verify (sut,times(1)).unmarshalRequest(any(InputStream.class));
}