@Test
public void testPut() {

    SetMetadataParameters victim = new SetMetadataParameters();
    victim.put(PdfMetadataFields.AUTHOR, "author");
    victim.put(PdfMetadataFields.CREATOR, "creator");
    Set<String> keys = victim.getMetadata().keySet();
    assertEquals(2, keys.size());
    assertTrue(keys.contains(PdfMetadataFields.AUTHOR));
    assertTrue(keys.contains(PdfMetadataFields.CREATOR));
    assertFalse(keys.contains(PdfMetadataFields.KEYWORDS));
}