use of com.fsck.k9.notification.NotificationController in project k-9 by k9mail.
the class LockScreenNotificationTest method setUp.
@Before
public void setUp() throws Exception {
Context context = RuntimeEnvironment.application;
builder = createFakeNotificationBuilder();
publicBuilder = createFakeNotificationBuilder();
NotificationController controller = createFakeController(context, publicBuilder);
Account account = createFakeAccount();
notificationData = createFakeNotificationData(account);
lockScreenNotification = new LockScreenNotification(controller);
}
use of com.fsck.k9.notification.NotificationController in project k-9 by k9mail.
the class WearNotificationsTest method setUp.
@Before
public void setUp() throws Exception {
account = createAccount();
notification = createNotification();
builder = createNotificationBuilder(notification);
actionCreator = createNotificationActionCreator();
NotificationController controller = createNotificationController(RuntimeEnvironment.application, builder);
MessagingController messagingController = createMessagingController();
wearNotifications = new TestWearNotifications(controller, actionCreator, messagingController);
}
Aggregations