public void GetSpecificationSummaryById_WhenGivenAValidSpecificationId_ShouldCallApiClient()
        {
            // Arrange
            ISpecificationsApiClientProxy mockApiClient = Substitute.For <ISpecificationsApiClientProxy>();
            const string specificationId = "validSpecId";

            // Act
            SpecificationsRepository specificationRepo = new SpecificationsRepository(mockApiClient);

            specificationRepo.GetSpecificationSummaryById(specificationId).Wait();

            // Assert
            mockApiClient.Received(1).GetAsync <SpecificationSummary>(Arg.Any <string>());
        }
        async public Task GetSpecificationById_GivenSpecificationId_CallsWithCorrectUrl()
        {
            //Arrange
            const string specificationId = "spec-id";

            ISpecificationsApiClientProxy clientProxy = CreateApiClientProxy();

            SpecificationsRepository specificationsRepository = CreateSpecificationsRepository(clientProxy);

            //Act
            await specificationsRepository.GetSpecificationSummaryById(specificationId);

            //Assert
            await
            clientProxy
            .Received(1)
            .GetAsync <SpecificationSummary>(Arg.Is($"specs/specification-summary-by-id?specificationId={specificationId}"));
        }