public void GetCommandListTest() { var service = new Command(); var controller = new DocusignAPIController(service); var result = controller.GetCommandList(); Assert.IsNotNull(result); }
public void GetCommandResponseTest() { var service = new Command(); CommandRequest req = new CommandRequest { TemperatureID = "3", Commands = "5" }; var controller = new DocusignAPIController(service); var result = controller.GetCommandResponse(req); Assert.AreEqual("fail", result.Response); }