unwrapping cause of ReflectionProviderException
improving test and refactoring to use expected rule
extracing instantiation of exception
Merge pull request #729 from csokol/better-stacktrace

unwrapping cause of ReflectionProviderException