@Test(expected = IllegalArgumentException.class)
public void setIllegalOutputFormat() throws Exception {

    try (CSL citeproc = new CSL(new ListItemDataProvider(items), "ieee")) {
        citeproc.setOutputFormat("MY_ILLEGAL_OUTPUT_FORMAT");
    }
}