for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\Sylius\Behat\Page\Checkout;
use Behat\Mink\Session;
use PhpSpec\ObjectBehavior;
use SensioLabs\Behat\PageObjectExtension\PageObject\Factory;
use Sylius\Behat\SymfonyPageObjectExtension\PageObject\SymfonyPage;
use Symfony\Component\Routing\RouterInterface;
/**
* @author Mateusz Zalewski <[email protected]>
class CheckoutSecurityStepSpec extends ObjectBehavior
{
function let(Session $session, Factory $factory, RouterInterface $router)
$this->beConstructedWith($session, $factory, [], $router);
}
function it_is_initializable()
$this->shouldHaveType('Sylius\Behat\Page\Checkout\CheckoutSecurityStep');
function it_is_symfony_page()
$this->shouldHaveType(SymfonyPage::class);
function it_has_route_name()
$this->getRouteName()->shouldReturn('sylius_checkout_security');