### Question:
NullInputParameter extends InputParameter { @Override public void putAdditionalParams(final Map<String, String> additionalParams) { throw new UnsupportedOperationException("putAdditionalParams() " + ERROR); } private  NullInputParameter(); @Override void setAdditionalParams(final Map<String, String> additionalParams); @Override void setExtVirtualLinks(final List<ExternalVirtualLink> extVirtualLinks); @Override void addExtVirtualLinks(final List<ExternalVirtualLink> extVirtualLinks); @Override void putAdditionalParams(final Map<String, String> additionalParams); static final NullInputParameter NULL_INSTANCE; }### Answer:
@Test(expected = UnsupportedOperationException.class) public void test_putAdditionalParams_throwException() { NullInputParameter.NULL_INSTANCE.putAdditionalParams(Collections.emptyMap()); }