### Question:
NodeTypeLoader { static boolean isReRegisterBuiltinNodeType(Exception e) { return (e instanceof RepositoryException) & (e.getMessage() != null && e.getMessage().contains("reregister built-in node type")); }  static boolean registerNodeType(Session session, URL source); static boolean registerNodeType(Session session, InputStream source); static boolean registerNodeType(Session session, String systemId, Reader reader, boolean reregisterExisting);  }### Answer:
@Test public void testisReRegisterBuiltinNodeType() { assertFalse("Exception does not match", NodeTypeLoader.isReRegisterBuiltinNodeType(new Exception())); assertFalse("Plain RepositoryException does not match", NodeTypeLoader.isReRegisterBuiltinNodeType(new RepositoryException())); assertFalse("Non-reregister RepositoryException does not match", NodeTypeLoader.isReRegisterBuiltinNodeType(new RepositoryException("builtin that's it"))); assertTrue("Reregister RepositoryException matches", NodeTypeLoader.isReRegisterBuiltinNodeType( new RepositoryException("{http: }