d.setPermissions( new Permissions() );
	public void testAllowLoad() {		prepareMocksWithUserDetails();				Details d = new Details();		d.setOwner(new Experimenter(2L));		d.setGroup(new ExperimenterGroup(2L));				sec.setCurrentDetails();		assertTrue(sec.allowLoad(Image.class,d));		d.setPermissions(new Permissions().revoke(WORLD,READ));		assertFalse(sec.allowLoad(Image.class, d));		// now in my group where i'm PI		d.setPermissions(new Permissions().revoke(GROUP,READ));		d.setGroup(group);		assertTrue(sec.allowLoad(Image.class,d));				sec.clearCurrentDetails();			}