Mutagenesis\Adapter\AdapterAbstract::setOutput PHP Method

setOutput() public method

Set the test library output so it can be used later
public setOutput ( string $output )
$output string
    public function setOutput($output)
    {
        $this->_output = $output;
    }

Usage Example

 public function testGetOutputAfterChange()
 {
     $expectedResult = sha1(microtime(true));
     $this->adapter->setOutput($expectedResult);
     $this->assertEquals($expectedResult, $this->adapter->getOutput());
 }