for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace spec\FSi\Bundle\AdminBundle\Menu\Item;
use FSi\Bundle\AdminBundle\Admin\Element;
use PhpSpec\ObjectBehavior;
class ElementItemSpec extends ObjectBehavior
{
function let(Element $element)
$this->beConstructedWith('some name', $element);
}
function it_has_default_options()
$this->getOptions()->shouldReturn(['attr' => ['id' => null, 'class' => null], 'elements' => []]);