SyncConfigurationManagerImpl implements SyncConfigurationManager { @Override public boolean isConfigurationComplete() { SyncToolConfig c = this.syncToolConfig; if (c == null) { return false; } if (StringUtils.isBlank(c.getUsername()) || StringUtils.isBlank(c.getUsername()) || StringUtils.isBlank(c.getPassword()) || StringUtils.isBlank(c.getHost()) || StringUtils.isBlank(c.getSpaceId()) ) { return false; } return true; } SyncConfigurationManagerImpl(); @Override void persistDuracloudConfiguration(String username,
                                              String password,
                                              String host,
                                              String port,
                                              String spaceId); @Override DuracloudConfiguration retrieveDuracloudConfiguration(); @Override DirectoryConfigs retrieveDirectoryConfigs(); @Override void persistDirectoryConfigs(DirectoryConfigs configs); @Override boolean isConfigurationComplete(); @Override void setConfigXmlPath(String configXml); @Override void persist(); @Override File getWorkDirectory(); @Override void purgeWorkDirectory(); @Override boolean isSyncDeletes(); @Override void setSyncDeletes(boolean flag); @Override String getUpdateSuffix(); @Override void setSyncUpdates(boolean b); @Override boolean isSyncUpdates(); @Override void setRenameUpdates(boolean b); @Override boolean isRenameUpdates(); @Override String getPrefix(); @Override void setPrefix(String prefix); @Override int getThreadCount(); @Override void setThreadCount(int threadCount); @Override void setJumpStart(boolean jumpStart); @Override boolean isJumpStart(); @Override RunMode getMode(); @Override void setMode(RunMode mode); @Override void setMaxFileSizeInBytes(long maxFileSize); @Override long getMaxFileSizeInBytes();  }
@Test public void testIsConfigurationCompleteFalse() { assertFalse(this.syncConfigurationManager.isConfigurationComplete()); }