EasyMock.expect(mockService.getEntry(testUrl, FeedServerEntry.class)).andReturn(
testUtil.getVehicleEntry());
EasyMock.replay(mockService);
// Perform Test
VehicleBean fetchedBean = feedServerClient.getEntity(testUrl);
// Check results
assertTrue(testUtil.isEqual(testUtil.getSampleVehicleBean(), fetchedBean));
EasyMock.verify(mockService);
}