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

    Bundle b =  Folder.builder().setIdentity("1").setName("Folder1").build().toBundle();
    b.putString("clz", null);
    Folder f = OrpheusApi.materializeBundle(Folder.class, b);
}