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