@Override
    public void execute() {
        DescribeTableResponse result
                = ddbClient.describeTable(DescribeTableRequest.builder().tableName(determineTableName()).build());

        Message msg = getMessageForResponse(exchange);
        msg.setHeader(Ddb2Constants.TABLE_NAME, result.table().tableName());
        msg.setHeader(Ddb2Constants.TABLE_STATUS, result.table().tableStatus());
        msg.setHeader(Ddb2Constants.CREATION_DATE, result.table().creationDateTime());
        msg.setHeader(Ddb2Constants.ITEM_COUNT, result.table().itemCount());
        msg.setHeader(Ddb2Constants.KEY_SCHEMA, result.table().keySchema());
        msg.setHeader(Ddb2Constants.READ_CAPACITY, result.table().provisionedThroughput().readCapacityUnits());
        msg.setHeader(Ddb2Constants.WRITE_CAPACITY, result.table().provisionedThroughput().writeCapacityUnits());
        msg.setHeader(Ddb2Constants.TABLE_SIZE, result.table().tableSizeBytes());
    }
@Test
    public void testExecute() {
        command.execute();
        List<KeySchemaElement> keySchema = new ArrayList<>();
        keySchema.add(KeySchemaElement.builder().attributeName("name").build());
        assertEquals("FULL_DESCRIBE_TABLE", ddbClient.describeTableRequest.tableName());
        assertEquals("FULL_DESCRIBE_TABLE", exchange.getIn().getHeader(Ddb2Constants.TABLE_NAME));
        assertEquals(TableStatus.ACTIVE, exchange.getIn().getHeader(Ddb2Constants.TABLE_STATUS));

        assertEquals(100L, exchange.getIn().getHeader(Ddb2Constants.ITEM_COUNT));
        assertEquals(keySchema, exchange.getIn().getHeader(Ddb2Constants.KEY_SCHEMA));
        assertEquals(20L, exchange.getIn().getHeader(Ddb2Constants.READ_CAPACITY));
        assertEquals(10L, exchange.getIn().getHeader(Ddb2Constants.WRITE_CAPACITY));
        assertEquals(1000L, exchange.getIn().getHeader(Ddb2Constants.TABLE_SIZE));
    }