public async Task GetVehicleOwners_WhenCalled_ReturnsOkResult()
        {
            // Arrange
            _mockOwnerRepository.Setup(repo => repo.GetVehicleOwnersAsync())
            .ReturnsAsync((new List <VehicleOwners>
            {
                new VehicleOwners(),
                new VehicleOwners()
            }));

            // Act
            var result = await _controller.GetVehicleOwners();

            // Assert
            Assert.NotNull(result);
            Assert.IsType <OkObjectResult>(result.Result);
        }