You are here

public function ExceptionComparatorTest::assertEqualsSucceedsProvider in Zircon Profile 8.0

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

File

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

Class

ExceptionComparatorTest
@coversDefaultClass SebastianBergmann\Comparator\ExceptionComparator

Namespace

SebastianBergmann\Comparator

Code

public function assertEqualsSucceedsProvider() {
  $exception1 = new Exception();
  $exception2 = new Exception();
  $exception3 = new RunTimeException('Error', 100);
  $exception4 = new RunTimeException('Error', 100);
  return array(
    array(
      $exception1,
      $exception1,
    ),
    array(
      $exception1,
      $exception2,
    ),
    array(
      $exception3,
      $exception3,
    ),
    array(
      $exception3,
      $exception4,
    ),
  );
}