/** * @expectedException \Savvot\Random\RandException */ public function testBadStateClassException() { $rnd = Random::createFromState(['class' => __CLASS__]); }