Beispiel #1
0
        public void Setup()
        {
            _resultContext        = TestProcessResultContext.Instance;
            _jsonConnection       = Substitute.For <IJsonConnection>();
            _aniListConfiguration = Substitute.For <IAnilistConfiguration>();

            _token = new AniListToken();
        }
        public void Setup()
        {
            this.resultContext = TestProcessResultContext.Instance;

            this.jsonConnection =
                new JsonConnection(new TestHttpClient(), new JsonSerialiser(), new ConsoleLogManager());
            this.aniListConfiguration = Substitute.For <IAnilistConfiguration>();

            this.token = new AniListToken();
        }