### Question:
ImmutableLanguage implements Language { @Override public boolean isWildcard() { return this.locale==null; } ImmutableLanguage(Locale locale); @Override boolean isWildcard(); @Override String primaryTag(); @Override String subTag(); @Override Locale locale(); @Override String toHeader(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }### Answer:
@Test public void wildcardsAreWildcards() throws Exception { assertThat(wildcard().isWildcard(),equalTo(true)); }
@Test public void simpleLanguagesAreNotWildcards() throws Exception { assertThat(simpleLanguage().isWildcard(),equalTo(false)); }
@Test public void compositeLanguagesAreNotWildcards() throws Exception { assertThat(compositeLanguage().isWildcard(),equalTo(false)); }