public new void Setup() { //set up localziation service used by almost all validators _ilService = MockRepository.GenerateMock <IInstallationLocalizationService>(); _ilService.Expect(l => l.GetResource("")).Return("Invalid").IgnoreArguments(); _validator = new InstallValidator(_ilService); }
public new void Setup() { //set up localziation service used by almost all validators _ilService = MockRepository.GenerateMock<IInstallationLocalizationService>(); _ilService.Expect(l => l.GetResource("")).Return("Invalid").IgnoreArguments(); _validator = new InstallValidator(_ilService); }