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\BlockBundle\Doctrine\Phpcr\SlideshowBlock;
/**
* @author Magdalena Banasiak <[email protected]>
class SlideshowBlockSpec extends ObjectBehavior
{
function it_is_initializable()
$this->shouldHaveType('Sylius\Bundle\ContentBundle\Document\SlideshowBlock');
}
function it_extends_slideshow_block_from_Symfony_CMF()
$this->shouldHaveType(SlideshowBlock::class);
function it_is_a_Sylius_resource()
$this->shouldImplement(ResourceInterface::class);