You are here

public function SplObjectStorageComparatorTest::assertEqualsFailsProvider in Zircon Profile 8

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

File

vendor/sebastian/comparator/tests/SplObjectStorageComparatorTest.php, line 62

Class

SplObjectStorageComparatorTest
@coversDefaultClass SebastianBergmann\Comparator\SplObjectStorageComparator

Namespace

SebastianBergmann\Comparator

Code

public function assertEqualsFailsProvider() {
  $object1 = new stdClass();
  $object2 = new stdClass();
  $storage1 = new SplObjectStorage();
  $storage2 = new SplObjectStorage();
  $storage2
    ->attach($object1);
  $storage3 = new SplObjectStorage();
  $storage3
    ->attach($object2);
  $storage3
    ->attach($object1);
  return array(
    array(
      $storage1,
      $storage2,
    ),
    array(
      $storage1,
      $storage3,
    ),
    array(
      $storage2,
      $storage3,
    ),
  );
}