コード例 #1
0
        public void GetSource()
        {
            var env        = new TestEnvironment();
            var userSecret = new UserSecret
            {
                Id             = "user01",
                ParatextTokens = new Tokens
                {
                    AccessToken  = TokenHelper.CreateNewAccessToken(),
                    RefreshToken = "refresh_token01"
                }
            };
            IInternetSharedRepositorySource source = env.Provider.GetSource(userSecret, "srServer", "regServer");

            Assert.That(source, Is.Not.Null);
        }