public function testExceptionWhenReflectionClassNotSet() { $in = new Instantiator(); $this->setExpectedException('hanneskod\\classtools\\Exception\\LogicException'); $in->getReflectionClass(); }