You are here

function ClassNodeSpec::it_supports_implementation_of_multiple_interfaces in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/spec/Prophecy/Doubler/Generator/Node/ClassNodeSpec.php \spec\Prophecy\Doubler\Generator\Node\ClassNodeSpec::it_supports_implementation_of_multiple_interfaces()

File

vendor/phpspec/prophecy/spec/Prophecy/Doubler/Generator/Node/ClassNodeSpec.php, line 48

Class

ClassNodeSpec

Namespace

spec\Prophecy\Doubler\Generator\Node

Code

function it_supports_implementation_of_multiple_interfaces() {
  $this
    ->addInterface('MyInterface');
  $this
    ->addInterface('MySecondInterface');
  $this
    ->getInterfaces()
    ->shouldHaveCount(2);
}