private PackageMaterialConfig getPackageMaterialConfigWithAutoUpdateTrue() { PackageDefinition packageDefinition = new PackageDefinition("packageWithAutoUpdateFalse", "DTDC Package", new Configuration()); packageDefinition.setRepository(PackageRepositoryMother.create("DTDC")); packageDefinition.setAutoUpdate(true); return new PackageMaterialConfig( new CaseInsensitiveString("Krish"), "packageWithAutoUpdateTrue", packageDefinition); }
private PackageMaterialConfig getPackageMaterialConfigWithAutoUpdateFalse() { PackageDefinition packageDefinition = new PackageDefinition("packageWithAutoUpdateFalse", "DLF Package", new Configuration()); packageDefinition.setRepository(PackageRepositoryMother.create("DLF")); packageDefinition.setAutoUpdate(false); return new PackageMaterialConfig( new CaseInsensitiveString("JamesBond"), "packageWithAutoUpdateFalse", packageDefinition); }