public void ShouldCreateAnInstanceOfConsoleOutputChannelWhenOutputSettingIsTypeOfConsoleOutputSetting() { // arrange OutputSetting consoleSetting = new ConsoleOutputSetting(); // act IStatsOutputChannel actual = new OutputChannelFactory().CreateOutputChannelInstance(consoleSetting); // assert Assert.IsInstanceOf(typeof(ConsoleOutputChannel), actual); }
public ConsoleOutputChannel(ConsoleOutputSetting setting, IStatsTemplate template) : base(setting) { this.template = template; }