tests/GameOfLife/Outputs/ImageOutputTest.php
/**
     * @dataProvider constructionProvider()
     * @covers \Output\ImageOutput::__construct()
     *
     * @param string $_optionPrefix              Prefix of the image output
     * @param string $_imageOutputDirectory      Output directory of the image output
     */


@param string $_optionPrefix              Prefix of the image output
@param string $_imageOutputDirectory      Output directory of the image output
@param string $_optionPrefix Prefix of the image output @param string $_imageOutputDirectory Output directory of the image output
public function testCanBeConstructed(string $_optionPrefix, string $_imageOutputDirectory)
    {
        $output = new ImageOutput("TEST IMAGE OUTPUT", $_optionPrefix, $_imageOutputDirectory);
        $this->assertEquals($_optionPrefix, $output->optionPrefix());
        $this->assertNotEmpty(stristr($output->imageOutputDirectory(), $_imageOutputDirectory));
    }
public function testCanBeConstructed ( string $ _optionPrefix , string $ _imageOutputDirectory ) { $ output = new ImageOutput ( " TEST IMAGE OUTPUT " , $ _optionPrefix , $ _imageOutputDirectory ) ; $ this -> assertEquals ( $ _optionPrefix , $ output -> optionPrefix ( ) ) ; $ this -> assertNotEmpty ( stristr ( $ output -> imageOutputDirectory ( ) , $ _imageOutputDirectory ) ) ; }
@dataProvider constructionProvider()
 @covers \Output\ImageOutput::__construct()
@dataProvider constructionProvider () @covers \ Output \ ImageOutput :: __construct ()