@Test public void marshalNull() { assertThat(adapter.marshal(null)).isNull(); }
@Override public String marshal(final PrivateKeyType v) { return MAPPING .entrySet() .stream() .filter(e -> e.getValue() == v) .map(Map.Entry::getKey) .findAny() .orElse(null); }
PrivateKeyTypeAdapter extends XmlAdapter<String, PrivateKeyType> { @Override public String marshal(final PrivateKeyType v) { return MAPPING .entrySet() .stream() .filter(e -> e.getValue() == v) .map(Map.Entry::getKey) .findAny() .orElse(null); } }
PrivateKeyTypeAdapter extends XmlAdapter<String, PrivateKeyType> { @Override public String marshal(final PrivateKeyType v) { return MAPPING .entrySet() .stream() .filter(e -> e.getValue() == v) .map(Map.Entry::getKey) .findAny() .orElse(null); }  }
PrivateKeyTypeAdapter extends XmlAdapter<String, PrivateKeyType> { @Override public String marshal(final PrivateKeyType v) { return MAPPING .entrySet() .stream() .filter(e -> e.getValue() == v) .map(Map.Entry::getKey) .findAny() .orElse(null); }  @Override PrivateKeyType unmarshal(final String v); @Override String marshal(final PrivateKeyType v); }
PrivateKeyTypeAdapter extends XmlAdapter<String, PrivateKeyType> { @Override public String marshal(final PrivateKeyType v) { return MAPPING .entrySet() .stream() .filter(e -> e.getValue() == v) .map(Map.Entry::getKey) .findAny() .orElse(null); }  @Override PrivateKeyType unmarshal(final String v); @Override String marshal(final PrivateKeyType v);  }