Esempio n. 1
0
 public function testGetCloseQuotesFor()
 {
     $quoter = new \r8\Quoter();
     $quoter->setQuote("(", ")");
     $quoter->setQuote("`");
     $quoter->setQuote("!", array('@', '#', '*'));
     $this->assertEquals(array(')'), $quoter->getCloseQuotesFor("("));
     $this->assertEquals(array('@', '#', '*'), $quoter->getCloseQuotesFor("!"));
 }