You are here

public function DOMNodeComparatorTest::assertEqualsFailsProvider in Zircon Profile 8

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

File

vendor/sebastian/comparator/tests/DOMNodeComparatorTest.php, line 75

Class

DOMNodeComparatorTest
@coversDefaultClass SebastianBergmann\Comparator\DOMNodeComparator

Namespace

SebastianBergmann\Comparator

Code

public function assertEqualsFailsProvider() {
  return array(
    array(
      $this
        ->createDOMDocument('<root></root>'),
      $this
        ->createDOMDocument('<bar/>'),
    ),
    array(
      $this
        ->createDOMDocument('<foo attr1="bar"/>'),
      $this
        ->createDOMDocument('<foo attr1="foobar"/>'),
    ),
    array(
      $this
        ->createDOMDocument('<foo> bar </foo>'),
      $this
        ->createDOMDocument('<foo />'),
    ),
    array(
      $this
        ->createDOMDocument('<foo xmlns="urn:myns:bar"/>'),
      $this
        ->createDOMDocument('<foo xmlns="urn:notmyns:bar"/>'),
    ),
    array(
      $this
        ->createDOMDocument('<foo> bar </foo>'),
      $this
        ->createDOMDocument('<foo> bir </foo>'),
    ),
  );
}