use of uk.gov.gchq.gaffer.user.User.Builder in project Gaffer by gchq.
the class UpdateViewHookTest method setUp.
@BeforeEach
public void setUp() throws Exception {
userAuths.clear();
validAuths.clear();
updateViewHook = new UpdateViewHook();
viewToMerge = new View.Builder().entity("white1", new ViewElementDefinition.Builder().preAggregationFilter(new ElementFilter.Builder().select("prop1").execute(new IsIn("value1", "value2")).build()).build()).edge("testGroup", new ViewElementDefinition.Builder().preAggregationFilter(new ElementFilter.Builder().select("count").execute(new IsMoreThan(10)).build()).build()).build();
userOpAuths.clear();
userDataAuths.clear();
opAuths.clear();
dataAuths.clear();
userBuilder = new Builder();
}
Aggregations