NotificationSubject

public class NotificationSubject


Subject for making assertions about android.app.Notifications.

Summary

Public constructors

Public methods

static NotificationSubject
assertThat(Notification notification)
final PendingIntentSubject
final PendingIntentSubject
final void
doesNotHaveFlags(int flags)
final BundleSubject
final void
hasFlags(int flags)

Assert that the notification has the given flags set.

static Factory<NotificationSubject, Notification>
final StringSubject

Public constructors

NotificationSubject

public NotificationSubject()

Public methods

assertThat

public static NotificationSubject assertThat(Notification notification)

contentIntent

public final PendingIntentSubject contentIntent()

deleteIntent

public final PendingIntentSubject deleteIntent()

doesNotHaveFlags

public final void doesNotHaveFlags(int flags)

extras

public final BundleSubject extras()

hasFlags

public final void hasFlags(int flags)

Assert that the notification has the given flags set.

notifications

public static Factory<NotificationSubject, Notification> notifications()

tickerText

public final StringSubject tickerText()