@Test
 public void testPlaceholders() throws Exception {
   Arn arn = new Arn(AUTOMATE_ARN_WITH_BLANKS);
   assertTrue("Expect empty", arn.getRegion().isEmpty());
   assertEquals("Expect parsed value.", "ec2", arn.getNamespace());
   Arn arn2 = new Arn(AUTOMATE_ARN);
   assertTrue("Expect same form.", arn2.isOfType(arn));
 }
 @Test
 public void testAccessors() throws Exception {
   Arn arn = new Arn(SNS_ARN);
   assertEquals("Expect parsed value.", "sns", arn.getService());
   assertEquals("Expect parsed value.", "us-east-1", arn.getRegion());
   assertEquals("Expect parsed value.", "1234567890", arn.getNamespace());
   assertEquals("Expect parsed value.", "queuename", arn.getRelativeId());
 }