Search in sources :

Example 1 with SystemGroupBackend

use of com.google.gerrit.server.group.SystemGroupBackend in project gerrit by GerritCodeReview.

the class UniversalGroupBackendTest method setup.

@Before
public void setup() {
    user = createNiceMock(IdentifiedUser.class);
    replay(user);
    backends = new DynamicSet<>();
    backends.add(new SystemGroupBackend(new Config()));
    backend = new UniversalGroupBackend(backends);
}
Also used : Config(org.eclipse.jgit.lib.Config) IdentifiedUser(com.google.gerrit.server.IdentifiedUser) SystemGroupBackend(com.google.gerrit.server.group.SystemGroupBackend) Before(org.junit.Before)

Aggregations

IdentifiedUser (com.google.gerrit.server.IdentifiedUser)1 SystemGroupBackend (com.google.gerrit.server.group.SystemGroupBackend)1 Config (org.eclipse.jgit.lib.Config)1 Before (org.junit.Before)1