public void Setup() { upUtil = Mock.Of <IUserProfileSettingsUtils>(); MockSettingsStore.Setup(settingStore => settingStore.GetSettings <ExportSettings>()) .Returns(new ExportSettings()); MockSettingsStore.Setup(settingStore => settingStore.GetSettings <UserProfileSettings>()) .Returns(new UserProfileSettings()); _sut = Open(); }
public int GetReadOnlySettingsStore(uint scope, out IVsSettingsStore store) { store = new MockSettingsStore((SettingsScope)scope, _rootCollection); return(VSConstants.S_OK); }