@Test public void getRegion_GivenFirehoseArn_ShouldReturnUsEast1Region() { Assert.assertEquals("us-east-1", new AwsResource(firehoseArn).getRegion()); }
public String getRegion() { return region; }
AwsResource { public String getRegion() { return region; } }
AwsResource { public String getRegion() { return region; } AwsResource(String arn); }
AwsResource { public String getRegion() { return region; } AwsResource(String arn); String getArn(); String getResource(); String getService(); String getRegion(); @Override boolean equals(Object o); @Override int hashCode(); }
AwsResource { public String getRegion() { return region; } AwsResource(String arn); String getArn(); String getResource(); String getService(); String getRegion(); @Override boolean equals(Object o); @Override int hashCode();  }