/** * Test test notification for event and not exist */ public function testGetNotificationForEventAndNotExist() { $notifications = $this->createNotifications(); $metadata = new ClassMetadata($notifications); $this->assertNull($metadata->getNotificationForEvent('foo_bar')); }