@Override
    public void execute() {
        PutItemResponse result = ddbClient.putItem(PutItemRequest.builder().tableName(determineTableName())
                .item(determineItem()).expected(determineUpdateCondition())
                .returnValues(determineReturnValues()).build());

        addAttributesToResult(result.attributes());
    }
@Test
    public void execute() {
        Map<String, AttributeValue> attributeMap = new HashMap<>();
        AttributeValue attributeValue = AttributeValue.builder().s("test value").build();
        attributeMap.put("name", attributeValue);
        exchange.getIn().setHeader(Ddb2Constants.ITEM, attributeMap);

        Map<String, ExpectedAttributeValue> expectedAttributeValueMap = new HashMap<>();
        expectedAttributeValueMap.put("name", ExpectedAttributeValue.builder().attributeValueList(attributeValue).build());
        exchange.getIn().setHeader(Ddb2Constants.UPDATE_CONDITION, expectedAttributeValueMap);

        command.execute();

        assertEquals("DOMAIN1", ddbClient.putItemRequest.tableName());
        assertEquals(attributeMap, ddbClient.putItemRequest.item());
        assertEquals(expectedAttributeValueMap, ddbClient.putItemRequest.expected());
        assertEquals(AttributeValue.builder().s("attrValue").build(),
                exchange.getIn().getHeader(Ddb2Constants.ATTRIBUTES, Map.class).get("attrName"));
    }