public function testShaBitsException() { $this->setExpectedException('Pop\\Crypt\\Exception'); $crypt = new Crypt\Sha(); $crypt->setBits(100); }