using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; using Amazon.Lambda.Core; using Amazon.Lambda.TestUtilities; using Amazon.Lambda.APIGatewayEvents; using BlueprintBaseName._1; namespace BlueprintBaseName._1.Tests { public class FunctionTest { public FunctionTest() { } [Fact] public void TestGetMethod() { TestLambdaContext context; APIGatewayProxyRequest request; APIGatewayProxyResponse response; Functions functions = new Functions(); request = new APIGatewayProxyRequest(); context = new TestLambdaContext(); response = functions.Get(request, context); Assert.Equal(200, response.StatusCode); Assert.Equal("Hello AWS Serverless", response.Body); } } }