@@ -0,0 +1,2762 @@
+import com.example.dynamodbasync.DynamoDBAsyncCreateTable;%0Aimport com.example.dynamodbasync.DynamoDBAsyncGetItem;%0Aimport com.example.dynamodbasync.DynamoDBAsyncListTables;%0Aimport software.amazon.awssdk.services.dynamodb.DynamoDbAsyncClient;%0Aimport org.junit.jupiter.api.*;%0Aimport software.amazon.awssdk.regions.Region;%0Aimport java.io.*;%0Aimport java.util.*;%0A%0A%0Aimport static org.junit.jupiter.api.Assertions.*;%0A%0A@TestInstance(TestInstance.Lifecycle.PER_METHOD)%0A@TestMethodOrder(MethodOrderer.OrderAnnotation.class)%0Apublic class DynamoDBAsyncTest %7B%0A%0A     // Define the data members required for the test%0A    private static String tableName = %22%22;%0A    private static String newTableName = %22%22;%0A    private static String newKey = %22%22;%0A    private static String key = %22%22;%0A    private static String keyVal = %22%22;%0A%0A%0A    @BeforeAll%0A    public static void setUp() throws IOException %7B%0A%0A       try (InputStream input = DynamoDBAsyncTest.class.getClassLoader().getResourceAsStream(%22config.properties%22)) %7B%0A%0A            Properties prop = new Properties();%0A%0A            if (input == null) %7B%0A                System.out.println(%22Sorry, unable to find config.properties%22);%0A                return;%0A            %7D%0A%0A            //load a properties file from class path, inside static method%0A            prop.load(input);%0A%0A            // Populate the data members required for all tests%0A            tableName = prop.getProperty(%22tableName%22);%0A            key = prop.getProperty(%22key%22);%0A            keyVal = prop.getProperty(%22keyVal%22);%0A            newTableName= prop.getProperty(%22newTableName%22);%0A            newKey= prop.getProperty(%22newKey%22);%0A%0A        %7D catch (IOException ex) %7B%0A            ex.printStackTrace();%0A        %7D%0A    %7D%0A%0A    @Test%0A    @Order(1)%0A    public void DynamoDBAsyncCreateTable() %7B%0A        Region region = Region.US_WEST_2;%0A        DynamoDbAsyncClient client = DynamoDbAsyncClient.builder()%0A                .region(region)%0A                .build();%0A%0A        DynamoDBAsyncCreateTable.createTable(client, newTableName, newKey);%0A        System.out.println(%22Test 2 passed%22);%0A    %7D%0A%0A%0A    @Test%0A    @Order(2)%0A    public void DynamoDBAsyncGetItem() %7B%0A        Region region = Region.US_WEST_2;%0A        DynamoDbAsyncClient client = DynamoDbAsyncClient.builder()%0A                .region(region)%0A                .build();%0A        DynamoDBAsyncGetItem.getItem(client, tableName, key, keyVal);%0A        System.out.println(%22Test 2 passed%22);%0A    %7D%0A%0A    @Test%0A    @Order(3)%0A    public void DynamoDBAsyncListTables() %7B%0A        Region region = Region.US_WEST_2;%0A        DynamoDbAsyncClient client = DynamoDbAsyncClient.builder()%0A                .region(region)%0A                .build();%0A        DynamoDBAsyncListTables.listTables(client);%0A        System.out.println(%22Test 3 passed%22);%0A    %7D%0A%7D%0A

Create DynamoDBAsyncTest.java