public void CreateSolutionTest() { ConfigServer _server = new ConfigServer(); var r = _server.CreateSolution(new SolutionConfiguration() { Version = 1, Content = "", Environment = 1, Enable = true, IsActive = true, IsDelete = false, IsFile = true, CreateBy = 1, IsRemote = false, SolutionId = Guid.NewGuid(), SolutionName = "配置服务解决方案" }); Assert.IsTrue(r.ActionResult); Assert.IsTrue(r.Data > 0); }