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\Component\Association\Model;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
use Sylius\Component\Association\Model\AssociationTypeInterface;
/**
* @author Leszek Prabucki <[email protected]>
* @author Łukasz Chruściel <[email protected]>
class AssociationTypeSpec extends ObjectBehavior
{
function it_is_initializable()
$this->shouldHaveType('Sylius\Component\Association\Model\AssociationType');
}
function it_implements_association_type_interface()
$this->shouldImplement(AssociationTypeInterface::class);
function it_has_name()
$this->setName('Changed name');
$this->getName()->shouldBe('Changed name');