{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
public class NotificationSubject
Subject for making assertions about android.app.Notifications.
Public constructors |
|
|---|---|
Public methods |
|
|---|---|
static NotificationSubject |
assertThat(Notification notification) |
final PendingIntentSubject |
|
final PendingIntentSubject |
|
final void |
doesNotHaveFlags(int flags) |
final BundleSubject |
extras() |
final void |
hasFlags(int flags)Assert that the notification has the given flags set. |
static Factory<NotificationSubject, Notification> |
|
final StringSubject |
|
public final void hasFlags(int flags)
Assert that the notification has the given flags set.