@Override
    public void execute() {
        GetItemResponse result = ddbClient.getItem(GetItemRequest.builder().key(determineKey()).tableName(determineTableName())
                .attributesToGet(determineAttributeNames())
                .consistentRead(determineConsistentRead()).build());
        addAttributesToResult(result.item());
    }
@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);

        List<String> attrNames = Arrays.asList("attrName");
        exchange.getIn().setHeader(Ddb2Constants.ATTRIBUTE_NAMES, attrNames);
        exchange.getIn().setHeader(Ddb2Constants.CONSISTENT_READ, true);

        command.execute();

        assertEquals("DOMAIN1", ddbClient.getItemRequest.tableName());
        assertEquals(attrNames, ddbClient.getItemRequest.attributesToGet());
        assertEquals(true, ddbClient.getItemRequest.consistentRead());
        assertEquals(key, ddbClient.getItemRequest.key());
        assertEquals(AttributeValue.builder().s("attrValue").build(),
                exchange.getIn().getHeader(Ddb2Constants.ATTRIBUTES, Map.class).get("attrName"));
    }