public void TestAddGroup1() { var settings = new DataSourceSettings(); using (var dataSources = new Tailviewer.BusinessLogic.DataSources.DataSources(_logSourceFactory, _scheduler, _filesystem, settings, _bookmarks.Object)) { MergedDataSource group = dataSources.AddGroup(); group.Should().NotBeNull(); group.Settings.Should().NotBeNull(); settings.Should().Equal(group.Settings); } }
public void TestAddGroup1() { var settings = new Tailviewer.Settings.DataSources(); using (var dataSources = new Tailviewer.BusinessLogic.DataSources.DataSources(_logFileFactory, _scheduler, settings)) { MergedDataSource group = dataSources.AddGroup(); group.Should().NotBeNull(); group.Settings.Should().NotBeNull(); settings.Should().Equal(group.Settings); } }