* test loadNotificationByUserAndLimit.
*/
@Test
public void testloadNotification(){
final List<Notification> list = getNotification().loadNotificationByUserAndLimit(this.account, 5, 0, true);
final Notification not1 = list.get(0);
assertEquals("Should be equals", 5, list.size());
final List<Notification> list2 = getNotification().loadNotificationByUserAndLimit(this.account, 20, 0, true);
assertEquals("Should be equals", 10, list2.size());
final Long list3 = getNotification().retrieveTotalNotificationStatus(this.account);
assertEquals("Should be equals", 20L, list3.longValue());
final Long list4 = getNotification().retrieveTotalNotReadedNotificationStatus(this.account);
assertEquals("Should be equals", 10L, list4.longValue());
final Notification expected = getNotification().retrieveNotificationById(not1.getNotificationId());
Assert.assertNotNull(expected);
}