### Question:
ClientMultiAxisQuery extends ClientQuery { public ClientMultiAxisQuery setSelect(ClientSelect select) { super.setSelect(select); return this; } ClientMultiAxisQuery();  ClientMultiAxisQuery(ClientMultiAxisQuery query); @Override ClientSelect getSelect(); ClientMultiAxisQuery setSelect(ClientSelect select); @XmlElement(name = "groupBy", type=ClientMultiAxisGroupBy.class) ClientMultiAxisGroupBy getGroupBy(); ClientMultiAxisQuery setGroupBy(ClientMultiAxisGroupBy groupBy); @XmlElementWrapper(name = "orderBy") @XmlElements({ @XmlElement(name = "member", type = ClientPathOrder.class), @XmlElement(name = "level", type = ClientGenericOrder.class), @XmlElement(name = "topN", type = ClientTopOrBottomNOrder.ClientTopNOrder.class), @XmlElement(name = "bottomN", type = ClientTopOrBottomNOrder.ClientBottomNOrder.class)}) @Override List<? extends ClientOrder> getOrderBy(); ClientMultiAxisQuery setOrderBy(List<? extends ClientOrder> orderBy); @XmlTransient List<ClientField> getSelectedFields(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); @Override ClientMultiAxisQuery deepClone();  }### Answer:
@Test public void clientQueryVisitorCanBeAcceptedForSelectOnly() { ClientMultiAxisQuery instance = createInstanceWithDefaultParameters().setSelect(SELECT); instance.accept(clientQueryVisitor); verify(clientQueryVisitor).visit(SELECT); verify(clientQueryVisitor, never()).visit(WHERE); }