/** * @test */ function it_is_of_type_event() { $this->assertEquals(DomainMessage::TYPE_EVENT, $this->domainEvent->messageType()); }