public function testStripslashes() { $t = new \Test\Strings(); $this->assertSame($t->testStripslashes(addslashes("How's everybody")), "How's everybody"); $this->assertSame($t->testStripslashes(addslashes('Are you "JOHN"?')), 'Are you "JOHN"?'); $this->assertSame($t->testStripslashes(addslashes("helloworld")), "helloworld"); }