/** * __construct() should return symbol element if $parameter is not null */ public function testConstruct_returnsSymbol_ifParameterIsNotNull() { $parameter = 'foo'; $symbol = new Symbol($parameter); $this->assertTrue($symbol instanceof Symbol); $this->assertEquals($parameter, $symbol->getParameter()); return; }