/** * Testing the getDataLabels method. * * @since 1.0 */ public function testGetDataLabels() { $this->assertTrue(is_array($this->person->getDataLabels()), 'Testing the getDataLabels method'); $labels = $this->person->getDataLabels(); $this->assertTrue(in_array('OID', array_keys($labels)), 'Testing the getDataLabels method'); $this->assertTrue(in_array('E-mail Address', $labels), 'Testing the getDataLabels method'); }