Esempio n. 1
0
 public function testGetData()
 {
     $this->obj->expects($this->once())->method('getSubtype')->will($this->returnValue(MetaEventType::SEQUENCE_NUMBER));
     $this->assertEquals(array(MetaEventType::SEQUENCE_NUMBER, 255, str_repeat('x', 255)), $this->obj->getData());
 }