public void Then_The_Url_Is_Correctly_Constructed_Without_RouteIds_And_Levels( ) { var actual = new GetActiveStandardsListRequest(); actual.GetUrl.Should() .Be($"api/courses/standards?filter=Active"); }
public void Then_The_Url_Is_Correctly_Constructed_Without_Levels( List <Guid> routeIds) { var actual = new GetActiveStandardsListRequest { RouteIds = routeIds }; actual.GetUrl.Should() .Be($"api/courses/standards?filter=Active&routeIds=" + string.Join("&routeIds=", routeIds)); }
public void Then_The_Url_Is_Correctly_Constructed_Without_RouteIds( List <int> levels) { var actual = new GetActiveStandardsListRequest { Levels = levels }; actual.GetUrl.Should() .Be($"api/courses/standards?filter=Active&levels=" + string.Join("&levels=", levels)); }