@Test(expected = IllegalArgumentException.class)
public void newRealmsAreImmutable() {

    final String newRealmId = "foo1";
    Realm.register(newRealmId, NEW_SECOND_LEVEL_DOMAIN);
    Realm.register(newRealmId, Realm.OC1.getSecondLevelDomain());
}