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); }