/** * @expectedException \InvalidArgumentException **/ public function testWrapperWithNoExistingClass() { $subject = new Wrapper('Mesa\\ServiceContainer\\NotExisting'); $subject->getClass(); }