/** * Testing Add/Remove Data * * @param mixed Data to add to node and check for. * * @return void * @dataProvider casesData */ function testAddAndRemoveData( $data ) { $this->assertThat( $this->object->data(), $this->equalTo(null) ); $this->object->setData($data); $this->assertThat( $this->object->data(), $this->equalTo($data) ); }
public function data() { return parent::data(); }