示例#1
0
 /**
  * @covers Fabfuel\Prophiler\DataCollector\Generic::setData
  * @covers Fabfuel\Prophiler\DataCollector\Generic::getData
  */
 public function testData()
 {
     $data = ['foo' => 1, 'bar' => 'bar', 'yada' => [1, 2, 3], 'pebble' => new \stdClass()];
     $this->generic->setData($data);
     $this->assertSame($data, $this->generic->getData());
 }