@Test
public void shouldParseClusterInheritedPermissions() throws Exception {

  AutoInstanceConfig config = getAutoInstanceConfigs(VIEW_XML);
  Collection<String> roles = config.getRoles();
  assertEquals(2, roles.size());
  assertTrue(roles.contains("CLUSTER.OPERATOR"));
  assertTrue(roles.contains("CLUSTER.USER"));
}