PHP Class spec\PhpSpec\CodeGenerator\Writer\TokenizedCodeWriterSpec

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

Public Methods

Method Description
it_should_generate_a_method_in_a_class_with_a_string_containing_braces ( )
it_should_handle_no_methods_when_writing_method_at_end ( )
it_should_handle_no_methods_when_writing_method_at_start ( )
it_should_throw_an_exception_if_a_specific_method_is_not_found ( )
it_should_write_a_method_after_another_method ( )
it_should_write_the_content_after_the_last_method ( )
it_should_write_the_content_before_the_first_method ( )
let ( )

Private Methods

Method Description
getClassWithBraceText ( )
getClassWithBraceTextAndNewMethod ( )
getClassWithNewMethodFirst ( )
getClassWithNewMethodInMiddle ( )
getClassWithNewMethodLast ( )
getClassWithNoMethods ( )
getClassWithOnlyNewMethod ( )
getClassWithTwoMethods ( )
getMethod ( )
getSingleMethodClass ( )

Method Details

it_should_generate_a_method_in_a_class_with_a_string_containing_braces() public method

it_should_handle_no_methods_when_writing_method_at_end() public method

it_should_handle_no_methods_when_writing_method_at_start() public method

it_should_throw_an_exception_if_a_specific_method_is_not_found() public method

it_should_write_a_method_after_another_method() public method

it_should_write_the_content_after_the_last_method() public method

it_should_write_the_content_before_the_first_method() public method

let() public method

public let ( )