@Test public void testGetDomain() { final String expected = DOMAIN_DISTRIBUTION_AUTOMATION; final DomainInfo domainInfo = new DomainInfo(DOMAIN_DISTRIBUTION_AUTOMATION, DOMAIN_VERSION); final String actual = domainInfo.getDomain(); assertThat(actual).isEqualTo(expected); }
public String getDomain() { return this.domain; }
DomainInfo { public String getDomain() { return this.domain; } }
DomainInfo { public String getDomain() { return this.domain; } DomainInfo(final String domain, final String domainVersion); }
DomainInfo { public String getDomain() { return this.domain; } DomainInfo(final String domain, final String domainVersion); String getDomain(); String getDomainVersion(); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString(); }
DomainInfo { public String getDomain() { return this.domain; } DomainInfo(final String domain, final String domainVersion); String getDomain(); String getDomainVersion(); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString();  }