public ApprenticeAccountsInnerApiMock WithApprentice(Apprentice apprentice)
 {
     MockServer
     .Given(
         Request.Create()
         .WithPath($"/apprentices/{apprentice.ApprenticeUrlId()}")
         .UsingGet()
         )
     .RespondWith(
         Response.Create()
         .WithBodyAsJson(apprentice)
         );
     return(this);
 }
        public ApprenticeCommitmentsInnerApiMock WithApprenticeshipsResponseForApprentice(Apprentice apprentice, GetApprenticeApprenticeshipsResult apprenticeshipsResult)
        {
            MockServer
            .Given(
                Request.Create()
                .WithPath($"/apprentices/{apprentice.ApprenticeUrlId()}/apprenticeships")
                .UsingGet()
                )
            .RespondWith(
                Response.Create()
                .WithStatusCode((int)HttpStatusCode.OK)
                .WithBodyAsJson(apprenticeshipsResult)
                );

            return(this);
        }