*
* @param project the project
* @return the settings instance
*/
public static JUnitGeneratorSettings getInstance(Project project) {
JUnitGeneratorSettings settings = getProjectSettings(project);
if (!settings.isUseProjectSettings()) {
if (log.isDebugEnabled()) {
log.debug("Project is configured for global settings, so we return the global settings");
}
//copy the global settings over
XmlSerializerUtil.copyBean(getInstance(), settings);