Пример #1
0
        private void MakeFileRepositoryInvalidLogin()
        {
            var testCloudManager = new TestCloudFileManager();

            testCloudManager.SetInvalidLoginRequired();

            ObjectFactory.Container.Inject(typeof(CloudFileManager), testCloudManager);
        }
Пример #2
0
        private void MakeFileRepositoryTimeOut()
        {
            var testCloudManager = new TestCloudFileManager();

            testCloudManager.SetTimeOutRequired();

            ObjectFactory.Container.Inject(typeof(CloudFileManager), testCloudManager);
        }