Mercurial > hg > isophonics-drupal-site
view vendor/phpspec/prophecy/spec/Prophecy/Comparator/FactorySpec.php @ 5:c69a71b4f40f
Add slideshow module
author | Chris Cannam |
---|---|
date | Thu, 07 Dec 2017 14:46:23 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line 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'); } }