NotificationActionSubject

public class NotificationActionSubject
extends Subject<NotificationActionSubjectNotification.Action>

java.lang.Object
   ↳ com.google.common.truth.Subject<androidx.test.ext.truth.app.NotificationActionSubjectandroid.app.Notification.Action>
     ↳ androidx.test.ext.truth.app.NotificationActionSubject


Subject for making assertions about Notification.Actions.

Only supports on Android APIs >= 16

Summary

Public methods

static NotificationActionSubject assertThat(Notification.Action action)
static Factory<NotificationActionSubjectNotification.Action> notificationActions()
final StringSubject title()

Inherited methods

From class com.google.common.truth.Subject
From class java.lang.Object

Public methods

assertThat

NotificationActionSubject assertThat (Notification.Action action)

Parameters
action Notification.Action

Returns
NotificationActionSubject

notificationActions

Factory<NotificationActionSubjectNotification.Action> notificationActions ()

Returns
Factory<NotificationActionSubjectNotification.Action>

title

StringSubject title ()

Returns
StringSubject