protected virtual async Task <APIGatewayProxyResponse> Subscribe()
        {
            Console.WriteLine("Subscriber Start");
            await Process();

            Console.WriteLine("Subscriber Done");

            return(ApiGatewayResponse.Ok(new { Message = "Subscription Successful" }));
        }
        public void Should_Create_OK_Response()
        {
            // Arrange
            var testObject = new TestObject {
                Foo = "Test"
            };

            // Act
            var result = ApiGatewayResponse.Ok(testObject);

            // Assert
            result.StatusCode.ShouldBe((int)HttpStatusCode.OK);
            result.Body.ShouldBe(JsonConvert.SerializeObject(testObject));
        }