@Test public void getResource_GivenLambdaArn_ShouldReturnFunctionName() { Assert.assertEquals("ProcessKinesisRecords", new AwsResource(lambdaArn).getResource()); }
public String getResource() { return resource; }
AwsResource { public String getResource() { return resource; } }
AwsResource { public String getResource() { return resource; } AwsResource(String arn); }
AwsResource { public String getResource() { return resource; } AwsResource(String arn); String getArn(); String getResource(); String getService(); String getRegion(); @Override boolean equals(Object o); @Override int hashCode(); }
AwsResource { public String getResource() { return resource; } AwsResource(String arn); String getArn(); String getResource(); String getService(); String getRegion(); @Override boolean equals(Object o); @Override int hashCode();  }