/** * __toString() should return string if the control symbol is not space delimited */ public function testToString_returnsString_ifNotSpaceDelimited() { $symbol = new Symbol(); $symbol->setSymbol('+'); $symbol->setIsSpaceDelimited(false); $expected = '\\+'; $actual = (string) $symbol; $this->assertEquals($expected, $actual); return; }