Esempio n. 1
0
 /**
  * __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;
 }