use of com.google.gerrit.common.data.LabelTypes in project gerrit by GerritCodeReview.
the class GerritCommonTest method setUpEnvironment.
@Override
protected void setUpEnvironment(PrologEnvironment env) throws Exception {
LabelTypes labelTypes = new LabelTypes(Arrays.asList(Util.codeReview(), Util.verified()));
ChangeData cd = EasyMock.createMock(ChangeData.class);
expect(cd.getLabelTypes()).andStubReturn(labelTypes);
EasyMock.replay(cd);
env.set(StoredValues.CHANGE_DATA, cd);
}
Aggregations