GraphConfigurationService implements IGraphConfigurationService { @Override public Set<Class> getElementGenerators() { return ReflectionUtil.getSubTypes(ElementGenerator.class); } GraphConfigurationService(); static void initialise(); @Override Schema getSchema(); @Override String getDescription(); @Override Set<Class> getFilterFunctions(); @SuppressFBWarnings(value = "REC_CATCH_EXCEPTION", justification = "Need to wrap all runtime exceptions before they are given to the user") @Override Set<Class> getFilterFunctions(final String inputClass); @SuppressFBWarnings(value = "REC_CATCH_EXCEPTION", justification = "Need to wrap all runtime exceptions before they are given to the user") @Override Set<String> getSerialisedFields(final String className); @Override Set<Class> getTransformFunctions(); @Override Set<StoreTrait> getStoreTraits(); @Override Set<Class> getNextOperations(final String operationClassName); @Override Set<Class> getElementGenerators(); @Override Set<Class> getObjectGenerators(); @Override Set<Class> getOperations(); @Override Boolean isOperationSupported(final Class operation);  }
@Test public void shouldGetElementGenerators() throws IOException { final Set<Class> classes = service.getElementGenerators(); assertTrue(!classes.isEmpty()); }