public function testHashes() { $t = new StringMethods(); $str = 'hello world!'; $this->assertSame(md5($str), $t->getMd5($str)); $this->assertSame(sha1($str), $t->getSha1($str)); }