4748495051525354555657
case Db: return new Database(name); case Table: return new Table(name); case View: return new View(name); case URI: return new AccessURI(name); default: return null; }
4546474849505152
Table table = (Table)Authorizables.from("tAbLe=t1"); assertEquals("t1", table.getName()); } @Test public void testView() throws Exception { View view = (View)Authorizables.from("vIeW=v1"); assertEquals("v1", view.getName()); }