Assert.assertEquals(expectedSize,sobaMessages.size());
}
@Test(expected = IllegalArgumentException.class)
public void testCreateRiverForNullAccount() {
SearchService searchService = new SearchServiceImpl();
ReflectionTestUtils.setField(searchService,"enabled",true);
searchService.createRiverForAccount(null);
}