public function testCanCreateNotificationDefinition() { $notification = $this->jobBuilder->createNotification(); $this->assertInstanceOf(Definition\NotificationDefinition::CLASS, $notification); $this->assertEquals('webhook', $notification->getType()); }