Пример #1
0
 public function testGetTarget()
 {
     $metaData = Mockery::mock(self::$metaDataClass);
     $target = Mockery::mock(self::$mediaInterface);
     $sut = new Alias($target, $metaData);
     $this->assertEquals($target, $sut->getTarget());
 }
Пример #2
0
 public function __construct(FileInterface $target, MetaData $metaData)
 {
     $this->target = $target;
     $this->metaData = $metaData;
     parent::__construct($target, $metaData);
 }
Пример #3
0
 public function __construct(GroupInterface $target, MetaData $metaData)
 {
     $this->target = $target;
     parent::__construct($target, $metaData);
 }