Exemplo n.º 1
0
 /**
  * @test
  */
 public function setOrDeleteMarkerIfNotEmptyWithNotEmptyWithMarkerPrefix()
 {
     $this->subject->processTemplate('<!-- ###WRAPPER_MARKER### -->' . '###MY_MARKER###' . '<!-- ###WRAPPER_MARKER### -->');
     self::assertTrue($this->subject->setOrDeleteMarkerIfNotEmpty('marker', 'foo', 'MY', 'WRAPPER'));
     self::assertSame('foo', $this->subject->getSubpart());
 }