예제 #1
0
파일: WordTest.php 프로젝트: jstewmc/rtf
 /**
  * __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;
 }