public void Initialize() { this.provider = new Mock <IShortcutProvider <TestShortcut> >(); this.provider.Setup(p => p.Type).Returns("test"); this.service = new ShortcutLaunchService(new[] { provider.Object }); }
public void Initialize() { this.service = new ShortcutLaunchService(new List<IShortcutProvider>()); }
public void Initialize() { this.service = new ShortcutLaunchService(new List <IShortcutProvider>()); }
public void Initialize() { this.provider = new Mock<IShortcutProvider<TestShortcut>>(); this.provider.Setup(p => p.Type).Returns("test"); this.service = new ShortcutLaunchService(new[] { provider.Object }); }