void () { DefaultLogger.disableStderrDumping(getTestRootDisposable()); try { ManagingFS.getInstance().findRoot("", myFS); fail("should fail by assertion in PersistentFsImpl.findRoot()"); } catch (Throwable t) { String message = t.getMessage(); assertTrue(message, message.startsWith("Invalid root")); } }