public function testData() { $this->domainEvent->setData($data = new \stdClass()); $this->assertSame($data, $this->domainEvent->getData()); }