Ejemplo n.º 1
0
 public function testSha1()
 {
     $s = new StringObject('abc');
     $s->sha1();
     $this->assertSame(sha1('abc'), $s->val());
 }