@Test
public void checkASGNameBuildingV3() {

    JobGroupInfo jobGroupInfoOne = JobGroupInfo.newBuilder()
            .withDetail("^1.0.0")
            .withSequence("v001")
            .withStack("main")
            .build();
    JobDescriptor<JobDescriptor.JobDescriptorExt> jobDescriptorOne = JobDescriptor.newBuilder()
            .withApplicationName("testapp")
            .withJobGroupInfo(jobGroupInfoOne).build();
    String autoScalingGroup = DefaultAppScaleManager.buildAutoScalingGroupV3(jobDescriptorOne);
    Assertions.assertThat(autoScalingGroup).isEqualTo("testapp-main-^1.0.0-v001");
    JobGroupInfo jobGroupInfoTwo = JobGroupInfo.newBuilder()
            .withDetail("^1.0.0")
            .withStack("main")
            .build();
    JobDescriptor<JobDescriptor.JobDescriptorExt> jobDescriptorTwo = JobDescriptor.newBuilder()
            .withApplicationName("testapp")
            .withJobGroupInfo(jobGroupInfoTwo).build();
    autoScalingGroup = DefaultAppScaleManager.buildAutoScalingGroupV3(jobDescriptorTwo);
    Assertions.assertThat(autoScalingGroup).isEqualTo("testapp-main-^1.0.0-v000");
    JobGroupInfo jobGroupInfoThree = JobGroupInfo.newBuilder()
            .withDetail("^1.0.0")
            .build();
    JobDescriptor<JobDescriptor.JobDescriptorExt> jobDescriptorThree = JobDescriptor.newBuilder()
            .withApplicationName("testapp")
            .withJobGroupInfo(jobGroupInfoThree).build();
    autoScalingGroup = DefaultAppScaleManager.buildAutoScalingGroupV3(jobDescriptorThree);
    Assertions.assertThat(autoScalingGroup).isEqualTo("testapp--^1.0.0-v000");
    JobGroupInfo jobGroupInfoFour = JobGroupInfo.newBuilder().build();
    JobDescriptor<JobDescriptor.JobDescriptorExt> jobDescriptorFour = JobDescriptor.newBuilder()
            .withApplicationName("testapp")
            .withJobGroupInfo(jobGroupInfoFour).build();
    autoScalingGroup = DefaultAppScaleManager.buildAutoScalingGroupV3(jobDescriptorFour);
    Assertions.assertThat(autoScalingGroup).isEqualTo("testapp-v000");
    JobGroupInfo jobGroupInfoFive = JobGroupInfo.newBuilder()
            .withDetail("titus")
            .withSequence("v038")
            .build();
    JobDescriptor<JobDescriptor.JobDescriptorExt> jobDescriptorFive = JobDescriptor.newBuilder()
            .withApplicationName("tbd")
            .withJobGroupInfo(jobGroupInfoFive)
            .build();
    autoScalingGroup = DefaultAppScaleManager.buildAutoScalingGroupV3(jobDescriptorFive);
    Assertions.assertThat(autoScalingGroup).isEqualTo("tbd--titus-v038");
}