public void IssueErrorAndMessageShouldSuccessfullyActivateAnAppFail()
        {
            // Arrange

            // Act
            var result     = sutFailure.ActivateApp(1);
            var message    = ((BaseResult)((NotFoundObjectResult)result.Result).Value).Message;
            var statusCode = ((NotFoundObjectResult)result.Result).StatusCode;

            // Assert
            Assert.That(result.Result, Is.InstanceOf <ActionResult>());
            Assert.That(message, Is.EqualTo("Status Code 404: App not Activated"));
            Assert.That(statusCode, Is.EqualTo(404));
        }
        public void SuccessfullyActivateAnApp()
        {
            // Arrange

            // Act
            var result     = sutSuccess.ActivateApp(1);
            var message    = ((BaseResult)((OkObjectResult)result.Result).Value).Message;
            var statusCode = ((OkObjectResult)result.Result).StatusCode;

            // Assert
            Assert.That(result.Result, Is.InstanceOf <ActionResult>());
            Assert.That(message, Is.EqualTo("Status Code 200: App Activated"));
            Assert.That(statusCode, Is.EqualTo(200));
        }