Esempio n. 1
0
 /**
  * __toString() should return string if parameter does exist
  */
 public function testToString_returnsString_ifParameterDoesExist()
 {
     $word = new Word();
     $word->setWord('b');
     $word->setParameter(0);
     $this->assertEquals('\\b0 ', (string) $word);
     return;
 }