/** * @expectedException \ShortCode\Exception\UnexpectedCodeLength */ public function testExceptionIfConvertingNegativeNumber() { Reversible::convert(-9); }