### Question:
ClientMultiAxisQuery extends ClientQuery { @XmlTransient public List<ClientField> getSelectedFields() { return super.getSelectedFields(); } 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 getSelectedFields_withFieldsInSelect_containFields() { ClientMultiAxisQuery instance = createFullyConfiguredInstance(); assertTrue(instance.getSelectedFields().contains(CLIENT_QUERY_FIELD)); }
@Test public void getSelectedFields_withNullSelect_notContainFields() { ClientMultiAxisQuery instance = createInstanceWithDefaultParameters(); assertFalse(instance.getSelectedFields().contains(CLIENT_QUERY_FIELD)); }
@Test public void getSelectedFields_withAxesInGroupBy_containFields() { ClientMultiAxisQuery instance = createFullyConfiguredInstance(); assertTrue(instance.getSelectedFields().contains(CLIENT_QUERY_LEVEL)); }
@Test public void getSelectedFields_withNullGroupBy_notContainFields() { ClientMultiAxisQuery instance = createInstanceWithDefaultParameters(); assertFalse(instance.getSelectedFields().contains(CLIENT_QUERY_LEVEL)); }