getData() public method

Gets the data (in the preferred format)
public getData ( ) : stdClass
return stdClass
 /**
  *
  */
 public function testSetGetData()
 {
     $data = array('Browser' => 'test', 'Comment' => 'TestComment');
     self::assertSame($this->object, $this->object->setData($data));
     $return = $this->object->getData();
     self::assertInstanceOf('\\stdClass', $return);
     self::assertSame('test', $return->browser);
     self::assertSame('TestComment', $return->comment);
 }
 /**
  *
  */
 public function testSetGetData()
 {
     $data = ['Browser' => 'test', 'Comment' => 'TestComment'];
     self::assertSame($this->object, $this->object->setData($data));
     $return = $this->object->getData();
     self::assertInstanceOf('\\stdClass', $return);
     self::assertSame('test', $return->browser);
     self::assertSame('TestComment', $return->comment);
     self::assertObjectHasAttribute('browser_type', $return);
 }