Inheritance: IAuthorizationProvider
        public AuthorizationProviderTests()
        {
            IServiceProvider services = Substitute.For<IServiceProvider>();
            services.GetService(typeof(IUnitOfWork)).Returns(info => new UnitOfWork(new TestingContext()));

            using (TestingContext context = new TestingContext()) context.DropData();
            authorization = new AuthorizationProvider(Assembly.GetExecutingAssembly(), services);
        }
 public AuthorizationProviderTests()
 {
     provider = new AuthorizationProvider(Assembly.GetExecutingAssembly());
     using (TestingContext context = new TestingContext()) context.DropData();
 }