public void InnerException_Should_Get_Set()
 {
     var ex = new RepositoryDependencyResolverException(typeof(Int32), new ArgumentNullException());
     ex.InnerException.ShouldBeType<ArgumentNullException>();
 }
 public void DependencyType_Should_Get_Set()
 {
     var ex = new RepositoryDependencyResolverException(typeof (Int32));
     ex.DependencyType.ShouldEqual(typeof(Int32));
 }