public async Task CreatePaymentType_Returns_CreatedAtRouteResult()
        {
            //Arrange
            _fixture.MockPaymentTypeRepository.Setup(x => x.CreatePaymentTypeAsync(It.IsAny <CreatePaymentTypeDto>()))
            .ReturnsAsync(_fixture.CreatePaymentTypeDtoResult);

            var controller = new PaymentTypeController(_fixture.MockPaymentTypeRepository.Object);

            //Act
            var result = await controller.CreatePaymentType(_fixture.ValidCreatePaymentTypeDto, _fixture.ApiVersion);

            //Assert
            var objectResult = result.Should().BeOfType <CreatedAtRouteResult>().Subject;

            objectResult.StatusCode.Should().Be(201);
            objectResult.RouteValues !["id"].Should().Be(3);