/**
  * @covers \com\github\gooh\InterfaceDistiller\Distillate::getExtendingInterfaces
  * @covers \com\github\gooh\InterfaceDistiller\Distillate::setExtendingInterfaces
  */
 public function testCanGetAndSetExtendingInterfaces()
 {
     $this->distillate->setExtendingInterfaces('Countable');
     $this->assertSame('Countable', $this->distillate->getExtendingInterfaces());
 }
Exemplo n.º 2
0
 /**
  * @param  string $commaSeparatedInterfaceNames
  *
  * @return \com\github\gooh\InterfaceDistiller\InterfaceDistiller
  */
 public function extendInterfaceFrom($commaSeparatedInterfaceNames)
 {
     $this->distillate->setExtendingInterfaces($commaSeparatedInterfaceNames);
     return $this;
 }