public async Task GetByProject_LabelsIsSet_AddsLabelsParameter() { var labels = new[] { "label1", "label2" }; const string expected = "label1,label2"; await _sut.GetByProject(0, labels : labels); _request.Received().AddParameterIfNotNull("labels", expected); }