applicationDao.writeKnownRemoteDatabases(expectedKnownDatabases);
// Run & Test
assertTrue(new File(testConfig.getDatabaseFile() + ".lck").exists());
applicationDao.shutdown();
assertFalse(new File(testConfig.getDatabaseFile() + ".lck").exists());
// Tear down
databaseConnection.close();
TestConfigUtil.deleteTestLocalConfigAndData(testConfig);