message: more specific tests
diff: import { expect as expectCDK, haveResourceLike, MatchStyle } from '@aws-cdk/assert';
  import * as cdk from '@aws-cdk/core';
  import * as WAF from '../lib/the-waf-stack';
  +import * as Gateway from '../lib/api-gateway-stack';
  test('Rules Added To WebACL', () => {
  const app = new cdk.App();
  @@ -13,16 +14,40 @@ test('Rules Added To WebACL', () => {
  "Scope": "REGIONAL",
  "Rules": [
  {
  - "Name": "AWS-AWSManagedRulesCommonRuleSet"
  + "Name": "AWS-AWSManagedRulesCommonRuleSet",
  + "Priority": 1,
  + "Statement": {
  + "ManagedRuleGroupStatement": {
  + "Name": "AWSManagedRulesCommonRuleSet"
  + }
  + }
  },
  {
  - "Name": "awsAnonymousIP"
  + "Name": "awsAnonymousIP",
  + "Priority": 2,
  + "Statement": {
  + "ManagedRuleGroupStatement": {
  + "Name": "AWSManagedRulesAnonymousIpList"
  + }
  + }
  },
  {
  - "Name": "awsIPReputation"
  + "Name": "awsIPReputation",
  + "Priority": 3,
  + "Statement": {
  + "ManagedRuleGroupStatement": {
  + "Name": "AWSManagedRulesAmazonIpReputationList"
  + }
  + }
  },
  {
  - "Name": "geoblockRule"
  + "Name": "geoblockRule",
  + "Priority": 4,
  + "Statement": {
  + "GeoMatchStatement": {
  + "CountryCodes": ["NZ"]
  + }
  + }
  }
  ]
  }))
  @@ -39,3 +64,23 @@ test('WebACL Associated', () => {
  "ResourceArn": "12345"
  }))
  });
  +
  +test('API Gateway Created', () => {
  + const app = new cdk.App();
  + // WHEN
  + const stack = new Gateway.ApigatewayStack(app, 'MyTestStack');
  + // THEN
  + expectCDK(stack).to(haveResourceLike("AWS::ApiGateway::RestApi", {
  + }))
  +});
  +
  +test('Lambda Function Created', () => {
  + const app = new cdk.App();
  + // WHEN
  + const stack = new Gateway.ApigatewayStack(app, 'MyTestStack');
  + // THEN
  + expectCDK(stack).to(haveResourceLike("AWS::Lambda::Function", {
  + "Handler": "helloworld.handler",
  + "Runtime": "nodejs12.x"
  + }))
  +});
  