/** * @expectedException \SimpleHash\Exception\SimpleHashException * @expectedExceptionMessage No calclator "\SimpleHash\Calculator\TestCalculator" exists! */ public function testUnspportedCalculator() { $hashFactory = new HashFactory(); $hashFactory->getTestHash(); }