DatastoreStateRepository implements StateRepository { protected String kind() { return this.kind; } DatastoreStateRepository(final DatastoreService datastoreService);  DatastoreStateRepository(final String kind, final DatastoreService datastoreService); @Override FeatureState getFeatureState(final Feature feature); @Override void setFeatureState(final FeatureState featureState); static final String STRATEGY_PARAMS_VALUES; static final String STRATEGY_PARAMS_NAMES; static final String STRATEGY_ID; static final String ENABLED; }
@Test public void customKindName() { final String kind = "CustomKind"; repository = new DatastoreStateRepository(kind, datastoreService); assertEquals(kind, repository.kind()); }