getTestUser()->getUser(); $centralId = CentralIdLookup::factory()->centralIdFromLocalUser( $user ); $job = $notifier->createJobForUser( $user ); $this->assertInstanceOf( NotificationRequestJob::class, $job ); $this->assertSame( 'EchoPushNotificationRequest', $job->getType() ); $this->assertSame( $centralId, $job->getParams()['centralId'] ); } }