BillableHoursWebApp.Api.Tests.IntegrationTests.ProjectsIntegrationTests.GetProjectShouldReturnCorrectResponse C# (CSharp) Method

GetProjectShouldReturnCorrectResponse() private method

private GetProjectShouldReturnCorrectResponse ( ) : void
return void
        public void GetProjectShouldReturnCorrectResponse()
        {
            MyWebApi
                .Server()
                .Working()
                .WithHttpRequestMessage(req => req
                    .WithRequestUri("api/projects/2")
                    .WithMethod(HttpMethod.Get))
                .ShouldReturnHttpResponseMessage()
                .WithStatusCode(HttpStatusCode.OK)
                .WithResponseModelOfType<ProjectResponseModel>();

            MyWebApi.Server().Stops();
        }