tests/GameOfLife/Inputs/BoardEditor/BoardEditorOptionTest.php
/**
     * Checks whether the constructor works as expected.
     *
     * @covers \BoardEditor\BoardEditorOption::__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("test");
        $option = new BoardEditorOption($boardEditor);
        $this->assertEquals($boardEditor, $option->parentBoardEditor());
        $this->assertEquals(array(), $option->aliases());
    }
public function testCanBeConstructed ( ) { $ boardEditor = new BoardEditor ( " test " ) ; $ option = new BoardEditorOption ( $ boardEditor ) ; $ this -> assertEquals ( $ boardEditor , $ option -> parentBoardEditor ( ) ) ; $ this -> assertEquals ( array ( ) , $ option -> aliases ( ) ) ; }
Checks whether the constructor works as expected.
Checks whether the constructor works as expected .