public void GetRegionNameTestForS3UsStandard() { // ARRANGE DashboardEventRaw s3 = JsonConvert.DeserializeObject <DashboardEventRaw>(File.ReadAllText("s3-us-standard.json")); // ACT string region = s3.GetRegion(); // ASSERT Assert.Equal("us-standard", region); }
public void GetRegionNameTestForManagementConsoleUsGovWest1() { // ARRANGE DashboardEventRaw mc = JsonConvert.DeserializeObject <DashboardEventRaw>(File.ReadAllText("management-console-us-gov-west-1.json")); // ACT string region = mc.GetRegion(); // ASSERT Assert.Equal("us-gov-west-1", region); }
public void GetRegionNameTestForGlueDataBrewUsEast1() { // ARRANGE DashboardEventRaw glue = JsonConvert.DeserializeObject <DashboardEventRaw>(File.ReadAllText("aws-glue-us-east-1.json")); // ACT string region = glue.GetRegion(); // ASSERT Assert.Equal("us-east-1", region); }
public void GetRegionNameTestForEC2UsEast1() { // ARRANGE DashboardEventRaw ec2 = JsonConvert.DeserializeObject <DashboardEventRaw>(File.ReadAllText("ec2-us-east-1.json")); // ACT string region = ec2.GetRegion(); // ASSERT Assert.Equal("us-east-1", region); }