PHP Class spec\PhpSpec\CodeAnalysis\MagicAwareAccessInspectorSpec

Inheritance: extends PhpSpec\ObjectBehavior
Show file Open project: phpspec/phpspec

Public Methods

Method Description
it_should_be_an_access_inspector ( )
it_should_detect_a_getter_if_there_is_no_magic_getter_but_wrapped_inspector_finds_one ( Phpspec\CodeAnalysis\AccessInspector $accessInspector )
it_should_detect_a_magic_call_method ( )
it_should_detect_a_magic_getter_if_no_value_is_given ( )
it_should_detect_a_magic_setter_if_a_value_is_given ( )
it_should_detect_a_method_if_there_is_no_magic_caller_and_wrapped_inspector_finds_none ( Phpspec\CodeAnalysis\AccessInspector $accessInspector )
it_should_detect_a_method_if_there_is_no_magic_caller_but_wrapped_inspector_finds_one ( Phpspec\CodeAnalysis\AccessInspector $accessInspector )
it_should_detect_a_setter_if_there_is_no_magic_setter_but_wrapped_inspector_finds_one ( Phpspec\CodeAnalysis\AccessInspector $accessInspector )
it_should_not_detect_a_getter_if_there_is_no_magic_getter_and_wrapped_inspector_finds_none ( Phpspec\CodeAnalysis\AccessInspector $accessInspector )
it_should_not_detect_a_setter_if_there_is_no_magic_setter_and_wrapped_inspector_finds_none ( Phpspec\CodeAnalysis\AccessInspector $accessInspector )
let ( Phpspec\CodeAnalysis\AccessInspector $accessInspector )

Method Details

it_should_be_an_access_inspector() public method

it_should_detect_a_getter_if_there_is_no_magic_getter_but_wrapped_inspector_finds_one() public method

public it_should_detect_a_getter_if_there_is_no_magic_getter_but_wrapped_inspector_finds_one ( Phpspec\CodeAnalysis\AccessInspector $accessInspector )
$accessInspector Phpspec\CodeAnalysis\AccessInspector

it_should_detect_a_magic_call_method() public method

it_should_detect_a_magic_getter_if_no_value_is_given() public method

it_should_detect_a_magic_setter_if_a_value_is_given() public method

it_should_detect_a_method_if_there_is_no_magic_caller_and_wrapped_inspector_finds_none() public method

public it_should_detect_a_method_if_there_is_no_magic_caller_and_wrapped_inspector_finds_none ( Phpspec\CodeAnalysis\AccessInspector $accessInspector )
$accessInspector Phpspec\CodeAnalysis\AccessInspector

it_should_detect_a_method_if_there_is_no_magic_caller_but_wrapped_inspector_finds_one() public method

public it_should_detect_a_method_if_there_is_no_magic_caller_but_wrapped_inspector_finds_one ( Phpspec\CodeAnalysis\AccessInspector $accessInspector )
$accessInspector Phpspec\CodeAnalysis\AccessInspector

it_should_detect_a_setter_if_there_is_no_magic_setter_but_wrapped_inspector_finds_one() public method

public it_should_detect_a_setter_if_there_is_no_magic_setter_but_wrapped_inspector_finds_one ( Phpspec\CodeAnalysis\AccessInspector $accessInspector )
$accessInspector Phpspec\CodeAnalysis\AccessInspector

it_should_not_detect_a_getter_if_there_is_no_magic_getter_and_wrapped_inspector_finds_none() public method

public it_should_not_detect_a_getter_if_there_is_no_magic_getter_and_wrapped_inspector_finds_none ( Phpspec\CodeAnalysis\AccessInspector $accessInspector )
$accessInspector Phpspec\CodeAnalysis\AccessInspector

it_should_not_detect_a_setter_if_there_is_no_magic_setter_and_wrapped_inspector_finds_none() public method

public it_should_not_detect_a_setter_if_there_is_no_magic_setter_and_wrapped_inspector_finds_none ( Phpspec\CodeAnalysis\AccessInspector $accessInspector )
$accessInspector Phpspec\CodeAnalysis\AccessInspector

let() public method

public let ( Phpspec\CodeAnalysis\AccessInspector $accessInspector )
$accessInspector Phpspec\CodeAnalysis\AccessInspector