PopTest\Code\DocblockTest::testSetAndGetReturn PHP Method

testSetAndGetReturn() public method

public testSetAndGetReturn ( )
    public function testSetAndGetReturn()
    {
        $d = DocblockGenerator::factory('This is the description');
        $d->setReturn('void');
        $r = $d->getReturn();
        $this->assertEquals('void', $r['type']);
    }