/** * @dataProvider getNodeByPointerProvider() */ public function testGetNodeByPointer($testVar) { $haystack = $this->object->getNodeByPointer($testVar); if (is_object($haystack)) { $this->assertInstanceOf('Xcom_Xfabric_Model_Debug_Node', $haystack); } else { $this->assertInternalType('null', $haystack); } }