@Test public void testDCLanguage() { dc = new DCLanguage(null); assertThat("testDCLanguage 0", dc.toString(), equalTo("")); dc = new DCLanguage(""); assertThat("testDCLanguage 1", dc.toString(), equalTo("")); dc = new DCLanguage("other"); assertThat("testDCLanguage 2", dc.toString(), equalTo("other")); dc = new DCLanguage("12"); assertThat("testDCLanguage 3", dc.toString(), equalTo("12")); dc = new DCLanguage("12345"); assertThat("testDCLanguage 4", dc.toString(), equalTo("45_12")); dc = new DCLanguage("123456"); assertThat("testDCLanguage 5", dc.toString(), equalTo("")); dc = new DCLanguage("1234567890"); assertThat("testDCLanguage 6", dc.toString(), equalTo("")); }
public DCLanguage(String l) { setLanguage(l); }
DCLanguage { public DCLanguage(String l) { setLanguage(l); } }
DCLanguage { public DCLanguage(String l) { setLanguage(l); } DCLanguage(String l); }
DCLanguage { public DCLanguage(String l) { setLanguage(l); } DCLanguage(String l); String toString(); final void setLanguage(String l); String getDisplayName(); }
DCLanguage { public DCLanguage(String l) { setLanguage(l); } DCLanguage(String l); String toString(); final void setLanguage(String l); String getDisplayName();  }