public function testRunMissingProvider()
 {
     $missingProvider = 'missingProvider';
     $providerAnnotation = $this->getMock('\\Phprtest\\Annotations\\ProviderAnnotation');
     $providerAnnotation->expects($this->any())->method('getProvider')->will($this->returnValue($missingProvider));
     $annotations = $this->getMock('\\mindplay\\annotations\\AnnotationManager');
     $annotations->expects($this->any())->method('getMethodAnnotations')->with('Phprtest\\TestStub', 'testStub', '@provider')->will($this->returnValue([$providerAnnotation]));
     $this->instance->setAnnotations($annotations);
     $this->assertEquals($annotations, $this->instance->getAnnotations());
     $this->setExpectedException('Phprtest\\PhprtestException', '[\\Phprtest\\TestStub:testStub] Provider method ' . $missingProvider . ' not found');
     $this->instance->run('\\Phprtest\\TestStub');
 }