### Question:
ImmutableCharacterEncoding implements CharacterEncoding { @Override public String name() { return this.charset==null?"*":this.charset.name(); } ImmutableCharacterEncoding(Charset charset); @Override boolean isWildcard(); @Override String name(); @Override Charset charset(); @Override String toHeader(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }### Answer:
@Test public void wildcardCharacterEncodingHasWildcardName() throws Exception { assertThat(wildcard().name(),equalTo("*")); }
@Test public void regularCharacterEncodingHasNameOfTheCharset() throws Exception { assertThat(regular().name(),equalTo(StandardCharsets.UTF_8.name())); }