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