### Question:
DatabaseUpgrader { public String getInfo () { MigrationInfoService infoService = this.flyway.info(); String s = ""; for (MigrationInfo info : infoService.all()) { s += " - " + info.getDescription() + ", script: " + info.getScript() + ", state: " + info.getState() + ", version: " + info.getVersion() + "\n"; } return s; } DatabaseUpgrader(MySQLConfig mySQLConfig); void migrate(); String getInfo();  }### Answer:
@Test public void testGetInfo () throws IOException { MySQLConfig mySQLConfig = createConfig(); DatabaseUpgrader databaseUpgrader = new DatabaseUpgrader(mySQLConfig); assertNotNull(databaseUpgrader.getInfo()); }