@@ -0,0 +1,2987 @@
+import com.example.migrationhub.*;%0Aimport software.amazon.awssdk.services.migrationhub.MigrationHubClient;%0Aimport org.junit.jupiter.api.*;%0Aimport static org.junit.jupiter.api.Assertions.assertNotNull;%0Aimport java.io.*;%0Aimport java.util.Properties;%0Aimport  software.amazon.awssdk.regions.Region;%0A%0A@TestInstance(TestInstance.Lifecycle.PER_METHOD)%0A@TestMethodOrder(MethodOrderer.OrderAnnotation.class)%0Apublic class MigrationHubServiceIntegrationTest %7B%0A%0A    private static MigrationHubClient migrationClient;%0A    private static String appId=%22%22;%0A    private static String migrationtask =%22%22;%0A    private static String progress =%22%22;%0A%0A%0A    @BeforeAll%0A    public static void setUp() throws IOException %7B%0A%0A        Region region = Region.US_WEST_2;%0A        migrationClient = MigrationHubClient.builder()%0A                .region(region)%0A                .build();%0A%0A        try (InputStream input = MigrationHubServiceIntegrationTest.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            appId = prop.getProperty(%22appId%22);%0A            //existingmigrationtask = prop.getProperty(%22existingmigrationtask%22);%0A            migrationtask = prop.getProperty(%22migrationtask%22);%0A            progress = prop.getProperty(%22progress%22);%0A            //newprogress = prop.getProperty(%22newprogress%22);%0A%0A%0A%0A        %7D catch (IOException ex) %7B%0A            ex.printStackTrace();%0A        %7D%0A    %7D%0A%0A    @Test%0A    @Order(1)%0A    public void whenInitializingAWSMigrationHub_thenNotNull() %7B%0A        assertNotNull(migrationClient);%0A        System.out.println(%22Test 1 passed%22);%0A    %7D%0A%0A    @Test%0A    @Order(2)%0A    public void ImportMigrationTask() %7B%0A%0A        ImportMigrationTask.importMigrTask(migrationClient, migrationtask, progress);%0A        System.out.println(%22Test 2 passed%22);%0A    %7D%0A%0A    @Test%0A    @Order(3)%0A    public void DescribeAppState() %7B%0A%0A        DescribeAppState.describeApplicationState(migrationClient, appId);%0A        System.out.println(%22Test 3 passed%22);%0A    %7D%0A%0A%0A    @Test%0A    @Order(4)%0A    public void DescribeMigrationTask() %7B%0A        DescribeMigrationTask.describeMigTask(migrationClient, migrationtask, progress);%0A        System.out.println(%22Test 4 passed%22);%0A   %7D%0A%0A    @Test%0A    @Order(5)%0A   public void ListApplications() %7B%0A       ListApplications.listApps(migrationClient);%0A        System.out.println(%22Test 5 passed%22);%0A   %7D%0A%0A    @Test%0A    @Order(6)%0A   public void ListMigrationTasks() %7B%0A%0A       ListMigrationTasks.listMigrTasks(migrationClient);%0A        System.out.println(%22Test 6 passed%22);%0A   %7D%0A%0A    @Test%0A    @Order(7)%0A   public void DeleteProgressStream() %7B%0A%0A       DeleteProgressStream.deleteStream(migrationClient, progress);%0A        System.out.println(%22Test 7 passed%22);%0A   %7D%0A%0A%7D%0A

Create MigrationHubServiceIntegrationTest.java