예제 #1
0
        public void Then_The_Url_Is_Correctly_Created()
        {
            //Arrange
            var actual = new GetRoutesListRequest();

            //Assert
            actual.GetUrl.Should().Be("api/courses/routes");
        }
        public void Then_The_Url_Is_Correctly_Constructed()
        {
            var actual = new GetRoutesListRequest();

            actual.GetUrl.Should().Be($"api/courses/routes");
        }