### Question:
ClientAnd extends ClientLogical<ClientAnd> { @Override @Size(min = 2, max = 2, message = DOMEL_INCORRECT_OPERANDS_COUNT) public List<ClientExpression> getOperands() { return operands; } ClientAnd();  ClientAnd(List<ClientExpression> operands, Boolean paren);  ClientAnd(List<ClientExpression> operands);  ClientAnd(ClientAnd source); @Override @Size(min = 2, max = 2, message = DOMEL_INCORRECT_OPERANDS_COUNT) List<ClientExpression> getOperands(); @Override void accept(ClientELVisitor visitor); @Override ClientAnd deepClone(); @Override int getPrecedence(); static final String EXPRESSION_ID; }### Answer:
@Test public void andOperationWithSomeExpressionProducesNewAndExpression() { ClientAnd logicalExpression = new ClientAnd(); ClientAnd result = logicalExpression.and(TEST_CLIENT_EXPRESSION); assertEquals(logicalExpression, result.getOperands().get(0)); assertEquals(TEST_CLIENT_EXPRESSION, result.getOperands().get(1)); }