4 require_once(__DIR__ .
"/../../BaseNotificationSetUp.php");
14 $this->assertInstanceOf(StandardNotificationGroupRenderer::class, $renderer);
20 $icon = $this->
getUIFactory()->symbol()->icon()->standard(
"mail",
"mail");
21 $item = $this->
getUIFactory()->item()->notification(
"hello", $icon);
23 $slate = $this->
getUIFactory()->mainControls()->slate()->notification(
"title", [$item]);
25 $group_notification = $this->factory->standardGroup($this->
id)->withTitle(
"title")->addNotification(
26 $this->factory->standard($this->id)->withNotificationItem($item)
29 $this->assertEquals($slate, $renderer->getNotificationComponentForItem($group_notification));
Class BaseNotificationSetUp.
Class StandardNotificationGroupRenderer.
Class StandardNotificationTest.
testGetNotificationComponentForItem()