/** * @test */ function it_has_metadata() { $this->assertEquals(['event' => 'metadata'], $this->domainEvent->metadata()); }