@Test
public void lastBgAlert() {

    // :: Setup
    UserNotification.create("test1", "bg_alert", System.currentTimeMillis());
    UserNotification.create("test2", "bg_alert", System.currentTimeMillis());
    // :: Act
    UserNotification userNotification = UserNotification.lastBgAlert();
    // :: Verify
    assertThat(userNotification.bg_alert).isTrue();
    assertThat(userNotification.message).isEqualTo("test2");
}