GSInstallerNoOpProvider extends GSInstallerResourceProvider { @Override public Map<Resource.Type, String> getKeyPropertyIds() { return keyPropertyIds; } GSInstallerNoOpProvider(Resource.Type type, ClusterDefinition clusterDefinition); @Override void updateProperties(Resource resource, Request request, Predicate predicate); @Override Map<Resource.Type, String> getKeyPropertyIds(); @Override Set<String> checkPropertyIds(Set<String> propertyIds);  }
@Test public void testGetKeyPropertyIds() throws Exception { ClusterDefinition clusterDefinition = new ClusterDefinition(new TestGSInstallerStateProvider()); GSInstallerNoOpProvider provider = new GSInstallerNoOpProvider(Resource.Type.Workflow, clusterDefinition); Assert.assertNotNull(provider.getKeyPropertyIds()); }