Mercurial > hg > isophonics-drupal-site
comparison vendor/phpspec/prophecy/spec/Prophecy/Comparator/FactorySpec.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 <?php | |
2 | |
3 namespace spec\Prophecy\Comparator; | |
4 | |
5 use PhpSpec\ObjectBehavior; | |
6 use Prophecy\Argument; | |
7 | |
8 class FactorySpec extends ObjectBehavior | |
9 { | |
10 function it_extends_Sebastian_Comparator_Factory() | |
11 { | |
12 $this->shouldHaveType('SebastianBergmann\Comparator\Factory'); | |
13 } | |
14 | |
15 function it_should_have_ClosureComparator_registered() | |
16 { | |
17 $comparator = $this->getInstance()->getComparatorFor(function(){}, function(){}); | |
18 $comparator->shouldHaveType('Prophecy\Comparator\ClosureComparator'); | |
19 } | |
20 } |