/** * __toString() should return string if the control word is ignored */ public function testToString_returnsString_ifIsIgnored() { $word = new Word(); $word->setWord('b'); $word->setIsIgnored(true); $this->assertEquals('\\*\\b ', (string) $word); return; }