### Question:
TyrusExtension implements Extension, Serializable { @Override public String toString() { final StringBuilder sb = new StringBuilder("TyrusExtension{"); sb.append("name='").append(name).append('\''); sb.append(", parameters=").append(parameters); sb.append('}'); return sb.toString(); } TyrusExtension(String name);  TyrusExtension(String name, List<Parameter> parameters); @Override String getName(); @Override List<Parameter> getParameters(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); static List<Extension> fromString(List<String> s); static List<Extension> fromHeaders(List<String> extensionHeaders);  }### Answer:
@Test public void testToString() { TyrusExtension.toString(new Extension() { @Override public String getName() { return "name"; } @Override public List<Parameter> getParameters() { return null; } }); }