You are here

function ClosureComparatorSpec::it_asserts_that_all_closures_are_different in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/spec/Prophecy/Comparator/ClosureComparatorSpec.php \spec\Prophecy\Comparator\ClosureComparatorSpec::it_asserts_that_all_closures_are_different()

File

vendor/phpspec/prophecy/spec/Prophecy/Comparator/ClosureComparatorSpec.php, line 28

Class

ClosureComparatorSpec

Namespace

spec\Prophecy\Comparator

Code

function it_asserts_that_all_closures_are_different() {
  $this
    ->shouldThrow()
    ->duringAssertEquals(function () {
  }, function () {
  });
}