### Question:
ClientDataSourceLevel extends ClientDataSourceField { public ClientDataSourceLevel setClientDataSourceField(ClientDataSourceField field) { setName(field.getName()); setType(field.getType()); setFormat(field.getFormat()); setHierarchyName(field.getHierarchyName()); setAggregateExpression(field.getAggregateExpression()); setAggregateArg(field.getAggregateArg()); setAggregateType(field.getAggregateType()); setAggregateFunction(field.getAggregateFunction()); setAggregateFirstLevelFunction(field.getAggregateFirstLevelFunction()); return this; } ClientDataSourceLevel();  ClientDataSourceLevel(ClientDataSourceLevel other); String getDimensionName(); ClientDataSourceLevel setDimensionName(String dimensionName); ClientDataSourceLevel setClientDataSourceField(ClientDataSourceField field); @Override ClientDataSourceLevel setAggregateArg(String aggregateArg); @Override ClientDataSourceLevel setAggregateExpression(String aggregateExpression); @Override ClientDataSourceLevel setAggregateFunction(String aggregateFunction); ClientDataSourceLevel setAggregateFirstLevelFunction(String aggregateFirstLevelFunction); @Override ClientDataSourceLevel setAggregateType(String aggregateType); @Override ClientDataSourceLevel setFormat(String format); @Override ClientDataSourceLevel setHierarchyName(String hierarchyName); @Override ClientDataSourceLevel setName(String name); @Override ClientDataSourceLevel setType(String type); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); @Override ClientDataSourceLevel deepClone();  }### Answer:
@Test void setClientDataSourceField() { ClientDataSourceLevel level = new ClientDataSourceLevel(); ClientDataSourceField field = new ClientDataSourceField().setType(TEST_TYPE) .setFormat(TEST_FORMAT) .setHierarchyName(TEST_HIERARCHY_NAME) .setAggregateFunction(TEST_AGGREGATE_FUNCTION) .setAggregateExpression(TEST_AGGREGATE_EXPRESSION) .setAggregateFirstLevelFunction(TEST_AGGREGATE_FIRST_LEVEL_FUNCTION) .setAggregateArg(TEST_AGGREGATE_ARG) .setAggregateType(TEST_AGGREGATE_TYPE); level.setClientDataSourceField(field); assertEquals(TEST_FORMAT, level.getFormat()); assertEquals(TEST_HIERARCHY_NAME, level.getHierarchyName()); assertEquals(TEST_AGGREGATE_FUNCTION, level.getAggregateFunction()); assertEquals(TEST_AGGREGATE_EXPRESSION, level.getAggregateExpression()); assertEquals(TEST_AGGREGATE_FIRST_LEVEL_FUNCTION, level.getAggregateFirstLevelFunction()); assertEquals(TEST_AGGREGATE_ARG, level.getAggregateArg()); assertEquals(TEST_AGGREGATE_TYPE, level.getAggregateType()); }