CompositeSearchQuery { public Operator getOperator() { return operator; } CompositeSearchQuery(SearchQuery q1, SearchQuery q2, Operator operator); Operator getOperator(); SearchQuery getQuery1(); SearchQuery getQuery2();  }
@Test public void testGetOperator_1() throws Exception { CompositeSearchQuery fixture = new CompositeSearchQuery((SearchQuery) null, (SearchQuery) null, MultiSearchParam.Operator.AND); MultiSearchParam.Operator result = fixture.getOperator(); assertNotNull(result); assertEquals("AND", result.getJoinTerm()); assertEquals("AND", result.name()); assertEquals("AND", result.toString()); assertEquals(1, result.ordinal()); }