FactorySpec.php in Zircon Profile 8.0
File
vendor/phpspec/prophecy/spec/Prophecy/Comparator/FactorySpec.php
View source
<?php
namespace spec\Prophecy\Comparator;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
class FactorySpec extends ObjectBehavior {
function it_extends_Sebastian_Comparator_Factory() {
$this
->shouldHaveType('SebastianBergmann\\Comparator\\Factory');
}
function it_should_have_ClosureComparator_registered() {
$comparator = $this
->getInstance()
->getComparatorFor(function () {
}, function () {
});
$comparator
->shouldHaveType('Prophecy\\Comparator\\ClosureComparator');
}
}