public async Task Artifact_children_can_be_retrieved_by_GETting_build_artifacts_children_end_point_with_id_and_artifact_path() { var build = await _teamCity.Builds.ById("101"); using (var ms = new MemoryStream()) { await build.GetArtifacts("parent/"); } AssertApiCall(HttpMethod.Get, "/app/rest/builds/101/artifacts/children/parent/", apiCall => Assert.True(apiCall.HasLocator("recursive")), apiCall => Assert.Equal("false", apiCall.GetLocator("recursive")), apiCall => Assert.True(apiCall.HasLocator("hidden")), ApiCall => Assert.Equal("false", ApiCall.GetLocator("hidden"))); }