You are here

public function ExceptionComparatorTest::acceptsSucceedsProvider in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/sebastian/comparator/tests/ExceptionComparatorTest.php \SebastianBergmann\Comparator\ExceptionComparatorTest::acceptsSucceedsProvider()

File

vendor/sebastian/comparator/tests/ExceptionComparatorTest.php, line 30

Class

ExceptionComparatorTest
@coversDefaultClass SebastianBergmann\Comparator\ExceptionComparator

Namespace

SebastianBergmann\Comparator

Code

public function acceptsSucceedsProvider() {
  return array(
    array(
      new Exception(),
      new Exception(),
    ),
    array(
      new RuntimeException(),
      new RuntimeException(),
    ),
    array(
      new Exception(),
      new RuntimeException(),
    ),
  );
}