You are here

function MethodNodeSpec::it_has_public_visibility_by_default in Zircon Profile 8

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

File

vendor/phpspec/prophecy/spec/Prophecy/Doubler/Generator/Node/MethodNodeSpec.php, line 19

Class

MethodNodeSpec

Namespace

spec\Prophecy\Doubler\Generator\Node

Code

function it_has_public_visibility_by_default() {
  $this
    ->getVisibility()
    ->shouldReturn('public');
}