@Test
public void npeInGetLanguageString() {

    // Regression test for JAX_RS_SPEC-251
    final Variant variant = new Variant(MediaType.TEXT_PLAIN_TYPE, (String) null, null);
    assertNull(variant.getLanguageString());
}