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\Bundle\ContentBundle\Document;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
use Sylius\Component\Resource\Model\ResourceInterface;
use Symfony\Cmf\Bundle\ContentBundle\Doctrine\Phpcr\StaticContent;
/**
* @author Paweł Jędrzejewski <[email protected]>
class StaticContentSpec extends ObjectBehavior
{
function it_is_initializable()
$this->shouldHaveType('Sylius\Bundle\ContentBundle\Document\StaticContent');
}
function it_extends_static_content_from_Symfony_CMF()
$this->shouldHaveType(StaticContent::class);
function it_is_a_Sylius_resource()
$this->shouldImplement(ResourceInterface::class);