public function testGetTarget() { $metaData = Mockery::mock(self::$metaDataClass); $target = Mockery::mock(self::$mediaInterface); $sut = new Alias($target, $metaData); $this->assertEquals($target, $sut->getTarget()); }
public function __construct(FileInterface $target, MetaData $metaData) { $this->target = $target; $this->metaData = $metaData; parent::__construct($target, $metaData); }
public function __construct(GroupInterface $target, MetaData $metaData) { $this->target = $target; parent::__construct($target, $metaData); }