1 | <?php |
||
24 | class NavigationActionNodeEditTest extends AbstractTestCase { |
||
25 | |||
26 | /** |
||
27 | * Tests the __construct() method. |
||
28 | * |
||
29 | * @return void |
||
30 | */ |
||
31 | public function test__construct(): void { |
||
32 | |||
33 | $obj = new NavigationNodeActionEdit("route"); |
||
34 | |||
35 | $this->assertEquals("navigation.node.action.edit", $obj->getLabel()); |
||
36 | $this->assertEquals("fa:pen", $obj->getIcon()); |
||
37 | $this->assertEquals(NavigationInterface::NAVIGATION_MATCHER_URL, $obj->getMatcher()); |
||
38 | $this->assertEquals("route", $obj->getUri()); |
||
39 | } |
||
40 | } |
||
41 |