You are here

class FactorySpec in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/spec/Prophecy/Comparator/FactorySpec.php \spec\Prophecy\Comparator\FactorySpec

Hierarchy

  • class \spec\Prophecy\Comparator\FactorySpec extends \PhpSpec\ObjectBehavior

Expanded class hierarchy of FactorySpec

File

vendor/phpspec/prophecy/spec/Prophecy/Comparator/FactorySpec.php, line 8

Namespace

spec\Prophecy\Comparator
View source
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');
  }

}

Members