@Test(expectedExceptions = AuthorizationException.class) public void testGetProductCodesForImage() { System.out.println(client.getProductCodesForImageInRegion(null, imageId)); }