public FileOutputChannel(FileOutputSetting setting, IStatsTemplate template) : base(setting) { // Write out to file fileSetting = setting; this.template = template; }
public void ShouldCreateAnInstanceOfFileOutputChannelWhenOutputSettingIsTypeOfFileOutputSetting() { // arrange OutputSetting consoleSetting = new FileOutputSetting(); // act IStatsOutputChannel actual = new OutputChannelFactory().CreateOutputChannelInstance(consoleSetting); // assert Assert.IsInstanceOf(typeof(FileOutputChannel), actual); }