public void testIsWritable() throws Exception {
   authorizerControl.expectAndReturn(authorizer.hasPermission(0, 0, project, "edit"), true);
   writableTableTag.setPermissions("edit,delete");
   authorizerControl.replay();
   boolean isWritable = writableTableTag.isWritable();
   assertEquals("table should be writable", true, isWritable);
   authorizerControl.verify();
 }
 public void testIsWritable_emptyPermissionList() throws Exception {
   writableTableTag.setPermissions(null);
   boolean isWritable = writableTableTag.isWritable();
   assertEquals("table should be writable", true, isWritable);
 }