@Test(expected = IllegalArgumentException.class) public void throwExceptionWhenAcceptLanguageIsNull() { new AcceptLanguageHeaderDelegate().toString(null); }
@Override public String toString(AcceptLanguage language) { if (language == null) { throw new IllegalArgumentException(); } return language.getLanguage().toString(); }
AcceptLanguageHeaderDelegate implements RuntimeDelegate.HeaderDelegate<AcceptLanguage> { @Override public String toString(AcceptLanguage language) { if (language == null) { throw new IllegalArgumentException(); } return language.getLanguage().toString(); } }
AcceptLanguageHeaderDelegate implements RuntimeDelegate.HeaderDelegate<AcceptLanguage> { @Override public String toString(AcceptLanguage language) { if (language == null) { throw new IllegalArgumentException(); } return language.getLanguage().toString(); }  }
AcceptLanguageHeaderDelegate implements RuntimeDelegate.HeaderDelegate<AcceptLanguage> { @Override public String toString(AcceptLanguage language) { if (language == null) { throw new IllegalArgumentException(); } return language.getLanguage().toString(); }  @Override AcceptLanguage fromString(String header); @Override String toString(AcceptLanguage language); }
AcceptLanguageHeaderDelegate implements RuntimeDelegate.HeaderDelegate<AcceptLanguage> { @Override public String toString(AcceptLanguage language) { if (language == null) { throw new IllegalArgumentException(); } return language.getLanguage().toString(); }  @Override AcceptLanguage fromString(String header); @Override String toString(AcceptLanguage language);  }