public AthenzDomain getParent() {
        return new AthenzDomain(name.substring(0, lastDot()));
    }
@Test
    void parent_domain_is_without_name_suffix() {
        assertEquals(new AthenzDomain("home.john"), new AthenzDomain("home.john.myapp").getParent());
    }