// This really only tests whether or not the parameter is going in.
// TODO make better date-based tests
@Test
public void testEndDateOf10YearsAgo() {
ThreadFixRestClient client = getThreadFixRestClient();
Calendar calendar = Calendar.getInstance();
calendar.add(Calendar.YEAR, -10);
RestResponse<VulnerabilityInfo[]> response =
client.searchVulnerabilities(null,null,null,null,null,null,null,null,null,calendar.getTime(),null,null,
null,null,null,null,null,null,null);
assertTrue("Response wasn't successful.", response.success);
assertTrue("Response object was null.", response.object != null);
assertTrue("Response size wasn't 0.", response.object.length == 0);