@Test
public void testIsDifferentRegions() {

    Tier tier = new Tier("name1", new Integer(1), new Integer(5), new Integer(1), null);
    tier.setRegion("region1");
    Tier tier2 = new Tier("name2", new Integer(1), new Integer(5), new Integer(1), null);
    tier.setRegion("region2");
    Set<Tier> tiers = new HashSet<Tier>();
    tiers.add(tier);
    tiers.add(tier2);
    Environment env = new Environment();
    env.setName("environmentName");
    env.addTier(tier);
    env.addTier(tier2);
    boolean result = env.isDifferentRegions();
    assertEquals(result, true);
}