public async void GetActivation_ReturnsNotFoundResult_WhenServiceReturnsNull()
        {
            // Arrange
            ActivationsServiceMock
            .Setup(x => x.ReadOneAsync(It.IsAny <string>()))
            .ReturnsAsync((Activation)null);

            // Act
            var result = await ActivationsController.GetOneByIdAsync("123021");

            // Assert
            Assert.IsType <NotFoundResult>(result);
        }
        public async void GetActivation_ReturnsOkObjectResult_WhenServiceReturnsActivation()
        {
            // Arrange
            var expectedActivation = TestData.Activations.ContractActivation;

            ActivationsServiceMock
            .Setup(x => x.ReadOneAsync(It.IsAny <string>()))
            .ReturnsAsync(expectedActivation);

            // Act
            var result = await ActivationsController.GetOneByIdAsync("123021");

            // Assert
            var okResult = Assert.IsType <OkObjectResult>(result);

            Assert.Same(expectedActivation, okResult.Value);
        }