/** * @depends testConstructEmpty */ public function testIsArtifactAware() { $artifact = \Mockery::mock('Havvg\\Component\\Lifecycle\\Artifact\\ArtifactInterface'); $event = new Event(); $event->setArtifact($artifact); static::assertSame($artifact, $event->getArtifact()); }