List<StatusMessage> statuses = loadListFromJSON(
"/examples/exampleStatus.json", StatusMessage.class);
// expected behavior
// expect(mockFactory.createFacebookAPIClient(EasyMock.anyObject(String.class))).andReturn(mockFbClient);
StatusMessage expectedStatus = statuses.get(2);
expect(mockFbClient.getFacebookObjectByID("fbid", StatusMessage.class))
.andReturn(expectedStatus);
// register behavior
EasyMock.replay(mockFbClient);