Ejemplo n.º 1
0
        public void GetModificationHistoryDocument()
        {
            DataResponse response = new DataResponse();

            response.Result = ResponseResult.Success;
            response.Data   = "Some data";
            CruiseServerClient client = new CruiseServerClient(
                new ServerStub("GetModificationHistoryDocument", typeof(ProjectRequest), "Project #1", response));
            string result = client.GetModificationHistoryDocument("Project #1");

            Assert.AreEqual(response.Data, result);
        }