You are here

function ClassNodeSpec::its_addProperty_does_not_accept_unsupported_visibility 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::its_addProperty_does_not_accept_unsupported_visibility()

File

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

Class

ClassNodeSpec

Namespace

spec\Prophecy\Doubler\Generator\Node

Code

function its_addProperty_does_not_accept_unsupported_visibility() {
  $this
    ->shouldThrow('InvalidArgumentException')
    ->duringAddProperty('title', 'town');
}