Example #1
0
        public void Setup()
        {
            getResponse = Substitute.For <IRestResponse>();

            connection = Substitute.For <IDeskApi>();
            connection.Call(Arg.Any <string>(), Method.GET).Returns(getResponse);

            mapper = new DeskApiMapper(connection);
        }
        public void Setup()
        {
            getResponse = Substitute.For<IRestResponse>();

            connection = Substitute.For<IDeskApi>();
            connection.Call(Arg.Any<string>(), Method.GET).Returns(getResponse);

            mapper = new DeskApiMapper(connection);
        }