newsItems.add( newsItem2 );
// validate jaxb response
FacebookJaxbRestClient jaxbClient = FacebookSessionTestUtils.getSessionlessValidClient( FacebookJaxbRestClient.class );
jaxbClient.dashboard_multiAddNews( null, null );
DashboardMultiAddNewsResponse jaxbResponse = (DashboardMultiAddNewsResponse) jaxbClient.dashboard_multiAddNews( ids, newsItems );
assert jaxbResponse != null;
assert jaxbResponse.getDashboardMultiAddNewsResponseElt().size() == 1;
IdPair keyValuePair = jaxbResponse.getDashboardMultiAddNewsResponseElt().get( 0 );
assert keyValuePair.getKey().equals( userId );
assert keyValuePair.getValue() > 0;
// validate json response
FacebookJsonRestClient jsonClient = FacebookSessionTestUtils.getSessionlessValidClient( FacebookJsonRestClient.class );