You are here

protected function FeedsExRemoveDefaultNamespaces::check in Feeds extensible parsers 7.2

Checks that the input and output are equal.

1 call to FeedsExRemoveDefaultNamespaces::check()
FeedsExRemoveDefaultNamespaces::test in src/Tests/FeedsExUnitTests.test
Strip some namespaces out of XML.

File

src/Tests/FeedsExUnitTests.test, line 167
Contains unit tests for feeds_ex.

Class

FeedsExRemoveDefaultNamespaces
Tests stripping default namespaces.

Code

protected function check($in, $out) {
  $this
    ->assertEqual(FeedsExXmlUtility::removeDefaultNamespaces($in), $out);
}