### Question:
FrameCreate extends TableCreateCommand { @Override public void createTable() { Preconditions.checkState(this.tableName != null, "Table name has not been set, yet"); try { this.database .executeUpdateQuery("CREATE TABLE " + this.tableName + " (FRAME_ID INTEGER(11) NOT NULL KEY AUTO_INCREMENT, DOCUMENT_ID INT, " + "TOPIC_ID INT, FRAME VARCHAR(100), START_POSITION INT, END_POSITION INT, " + "ACTIVE BOOLEAN NOT NULL DEFAULT 1, FRAME_TYPE VARCHAR(100))"); } catch (SQLException e) { logger.error("Table " + this.tableName + " could not be created."); throw new RuntimeException(e); } }  @Override void createTable(); @Override void setTableName(); @Override Set<String> getAfterDependencies(); @Override Set<String> getBeforeDependencies(); @Override Set<String> getOptionalAfterDependencies(); @Override Set<String> getOptionalBeforeDependencies();  }### Answer:
@Test public void testCreateTable() throws SQLException { this.frameCreate.setTableName(); this.frameCreate.createTable(); verify(this.dbMock) .executeUpdateQuery( eq("CREATE TABLE FRAME$FRAMES (FRAME_ID INTEGER(11) NOT NULL KEY AUTO_INCREMENT, DOCUMENT_ID INT, TOPIC_ID INT, FRAME VARCHAR(100), START_POSITION INT, END_POSITION INT, ACTIVE BOOLEAN NOT NULL DEFAULT 1, FRAME_TYPE VARCHAR(100))")); }
@Test(expected = IllegalStateException.class) public void testCreateTableThrowsException() throws SQLException { this.frameCreate.createTable(); }