/** * @expectedException Nette\ArgumentOutOfRangeException */ public function testTypeToExtInvalidType() { Image::typeToExt(999999); }