public void getScheduleTest() { // Arrange var obj = new ScheduleBL(); // Act var obj2 = obj.GetTrains("", "", ""); // Assert Console.WriteLine($"Number of entries: {obj2.Count()}"); foreach (var item in obj2) { Console.WriteLine($"Train - {item.Train}, Number - {item.Number}"); } }