tests/GameOfLife/Inputs/BoardEditor/OptionHandler/BoardEditorOptionParserTest.php
/**
     * Checks whether the constructor works as expected.
     *
     * @covers \BoardEditor\OptionHandler\BoardEditorOptionParser::__construct()
     *
     * @throws \Exception
     */
Checks whether the constructor works as expected.

@throws \Exception
Checks whether the constructor works as expected . @throws \ Exception
public function testCanBeConstructed()
    {
        $boardEditor = new BoardEditor("tests");
        $optionHandler = new BoardEditorOptionHandler($boardEditor);
        $optionParser = new BoardEditorOptionParser($optionHandler);
        $this->assertEquals($optionHandler, $optionParser->parentOptionHandler());
    }
public function testCanBeConstructed ( ) { $ boardEditor = new BoardEditor ( " tests " ) ; $ optionHandler = new BoardEditorOptionHandler ( $ boardEditor ) ; $ optionParser = new BoardEditorOptionParser ( $ optionHandler ) ; $ this -> assertEquals ( $ optionHandler , $ optionParser -> parentOptionHandler ( ) ) ; }
Checks whether the constructor works as expected.
Checks whether the constructor works as expected .