}
public void testSyncCallWithCountParameter() {
IRemoteService restClientService = getRemoteServiceClientContainerAdapter(container).getRemoteService(registration.getReference());
try {
Object result = restClientService.callSync(RestCallFactory.createRestCall(IUserTimeline.class.getName() + ".getUserStatuses", new IRemoteCallParameter[] { new RemoteCallParameter("count", "1") }));
assertNotNull(result);
assertTrue(result instanceof IUserStatus[]);
assertTrue(((IUserStatus[]) result).length == 1);
} catch (ECFException e) {
fail("Could not contact the service");