TestParser::testFunction PHP 메소드

testFunction() 공개 메소드

public testFunction ( )
    function testFunction()
    {
        $this->assertTrue(strpos($this->output, 'public void PHPDoctor\\Tests\\FileLevel\\aFunction()'));
        $this->assertTrue(strpos($this->output, 'public void PHPDoctor\\Tests\\FileLevel\\aFunctionWithParams(mixed one, mixed two)'));
        $this->assertTrue(strpos($this->output, 'public void PHPDoctor\\Tests\\FileLevel\\aFunctionWithTypeHints(int three, string four)'));
        $this->assertTrue(strpos($this->output, 'throws myException'));
        $this->assertTrue(strpos($this->output, 'throws myInterfaceException'));
        $this->assertTrue(strpos($this->output, 'public void PHPDoctor\\Tests\\FileLevel\\functionThatReturnsAReference()'));
    }