TestParser::testFunction PHP Method

testFunction() public method

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()'));
    }