@Test public void testToString() { final String expected = "DomainInfo [domain=PUBLIC_LIGHTING, domainVersion=1.0]"; final String actual = DOMAIN_INFO_PUBLIC_LIGHTING.toString(); assertThat(actual).isEqualTo(expected); }
@Override public String toString() { return "DomainInfo [domain=" + this.domain + ", domainVersion=" + this.domainVersion + "]"; }
DomainInfo { @Override public String toString() { return "DomainInfo [domain=" + this.domain + ", domainVersion=" + this.domainVersion + "]"; } }
DomainInfo { @Override public String toString() { return "DomainInfo [domain=" + this.domain + ", domainVersion=" + this.domainVersion + "]"; } DomainInfo(final String domain, final String domainVersion); }
DomainInfo { @Override public String toString() { return "DomainInfo [domain=" + this.domain + ", domainVersion=" + this.domainVersion + "]"; } DomainInfo(final String domain, final String domainVersion); String getDomain(); String getDomainVersion(); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString(); }
DomainInfo { @Override public String toString() { return "DomainInfo [domain=" + this.domain + ", domainVersion=" + this.domainVersion + "]"; } DomainInfo(final String domain, final String domainVersion); String getDomain(); String getDomainVersion(); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString();  }