### Question:
ModelBuilder { protected boolean isRestrictedWord(String word) { return word.matches("class|interface|public|private|protected|package|this|int|long|byte|short|float|double|boolean|for|while|goto|if|do"); } ModelBuilder(Connection con,
            EngineConfiguration engineConf,
            IModelBuilderConfig config,
            LocalisedMessages messages); final void build(); List<Table> getTableList(); List<Index> getIndexListForTable(Table table);  }### Answer:
@Test public void testIsRestrictedWord() { System.out.println("testIsRestrictedWord"); ModelBuilder instance = new ModelBuilder(null, ENGINE_CONF, new PostgreSql9ModelBuilderConfig(), new LocalisedMessages("messages", null)); assertTrue(instance.isRestrictedWord("class")); assertTrue(instance.isRestrictedWord("interface")); assertTrue(instance.isRestrictedWord("public")); assertTrue(instance.isRestrictedWord("private")); assertTrue(instance.isRestrictedWord("protected")); assertTrue(instance.isRestrictedWord("package")); assertTrue(instance.isRestrictedWord("this")); assertTrue(instance.isRestrictedWord("int")); assertTrue(instance.isRestrictedWord("long")); assertTrue(instance.isRestrictedWord("short")); assertTrue(instance.isRestrictedWord("byte")); assertTrue(instance.isRestrictedWord("float")); assertTrue(instance.isRestrictedWord("double")); assertTrue(instance.isRestrictedWord("boolean")); assertTrue(instance.isRestrictedWord("for")); assertTrue(instance.isRestrictedWord("while")); assertTrue(instance.isRestrictedWord("goto")); assertTrue(instance.isRestrictedWord("if")); assertTrue(instance.isRestrictedWord("do")); }