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

@throws \Exception
Checks whether the constructor works as expected . @throws \ Exception
public function testCanBeConstructed()
    {
        $testTemplateDirectory = "testing";
        $boardEditor = new BoardEditor($testTemplateDirectory, $this->testBoard);
        $this->assertEquals(new BoardEditorOutput(), $boardEditor->output());
        $this->assertEquals($this->testBoard, $boardEditor->board());
    }
public function testCanBeConstructed ( ) { $ testTemplateDirectory = " testing " ; $ boardEditor = new BoardEditor ( $ testTemplateDirectory , $ this -> testBoard ) ; $ this -> assertEquals ( new BoardEditorOutput ( ) , $ boardEditor -> output ( ) ) ; $ this -> assertEquals ( $ this -> testBoard , $ boardEditor -> board ( ) ) ; }
Checks whether the constructor works as expected.
Checks whether the constructor works as expected .