public static IServer GetDummyServer() { var server = new DummyServer { Name = "serverName", Status = Status.Success }; server.RootProject = GetDummyProject(); server.RootProject.AddChild(GetDummyProject()); server.RootProject.AddChild(GetDummyProject()); server.RootProject.AddChild(GetDummyProject()); server.RootProject.ChildProjects.First().AddChild(GetDummyProject()); return server; }
public static IServer GetDummyServer() { var server = new DummyServer { Name = "serverName", Status = Status.Success }; server.RootProject = GetDummyProject(); server.RootProject.AddChild(GetDummyProject()); server.RootProject.AddChild(GetDummyProject()); server.RootProject.AddChild(GetDummyProject()); server.RootProject.ChildProjects.First().AddChild(GetDummyProject()); return(server); }