for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the core-bundle package.
*
* (c) 2018 WEBEWEB
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Bundle\CoreBundle\Tests\Navigation\FontAwesome;
use WBW\Bundle\CoreBundle\Navigation\FontAwesome\BreadcrumbNodeActionIndex;
use WBW\Bundle\CoreBundle\Navigation\NavigationInterface;
use WBW\Bundle\CoreBundle\Tests\AbstractTestCase;
/**
* Breadcrumb node action "index" test.
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Bundle\CoreBundle\Tests\Navigation\FontAwesome
class BreadcrumbNodeActionIndexTest extends AbstractTestCase {
* Tests the __construct() method.
* @return void
public function test__construct(): void {
$obj = new BreadcrumbNodeActionIndex("route");
$this->assertEquals("navigation.node.action.index", $obj->getLabel());
$this->assertEquals("fa:th-list", $obj->getIcon());
$this->assertEquals(NavigationInterface::NAVIGATION_MATCHER_URL, $obj->getMatcher());
$this->assertEquals("route", $obj->getUri());
}