@Override
    public void execute() {
        UpdateItemResponse result = ddbClient.updateItem(UpdateItemRequest.builder().tableName(determineTableName())
                .key(determineKey()).attributeUpdates(determineUpdateValues())
                .expected(determineUpdateCondition()).returnValues(determineReturnValues()).build());

        addAttributesToResult(result.attributes());
    }
@Test
    public void execute() {
        Map<String, AttributeValue> key = new HashMap<>();
        key.put("1", AttributeValue.builder().s("Key_1").build());
        exchange.getIn().setHeader(Ddb2Constants.KEY, key);

        Map<String, AttributeValueUpdate> attributeMap = new HashMap<>();
        AttributeValueUpdate attributeValue = AttributeValueUpdate.builder()
                .value(AttributeValue.builder().s("new value").build()).action(AttributeAction.ADD).build();
        attributeMap.put("name", attributeValue);
        exchange.getIn().setHeader(Ddb2Constants.UPDATE_VALUES, attributeMap);

        Map<String, ExpectedAttributeValue> expectedAttributeValueMap = new HashMap<>();
        expectedAttributeValueMap.put("name", ExpectedAttributeValue.builder()
                .attributeValueList(AttributeValue.builder().s("expected value").build()).build());
        exchange.getIn().setHeader(Ddb2Constants.UPDATE_CONDITION, expectedAttributeValueMap);
        exchange.getIn().setHeader(Ddb2Constants.RETURN_VALUES, "ALL_OLD");

        command.execute();

        assertEquals("DOMAIN1", ddbClient.updateItemRequest.tableName());
        assertEquals(attributeMap, ddbClient.updateItemRequest.attributeUpdates());
        assertEquals(key, ddbClient.updateItemRequest.key());
        assertEquals(expectedAttributeValueMap, ddbClient.updateItemRequest.expected());
        assertEquals(ReturnValue.ALL_OLD, ddbClient.updateItemRequest.returnValues());
        assertEquals(AttributeValue.builder().s("attrValue").build(),
                exchange.getIn().getHeader(Ddb2Constants.ATTRIBUTES, Map.class).get("attrName"));
    }