Click or drag to resize
FeedHelperCreateMockFeedManager Method (ListMock`1IFeed, ListMock`1IBaseStationAircraftList, ListListIAircraft, Boolean, Int32)
Creates a mock IFeedManager singleton with a functioning Receivers property and methods, and populates the receiver pathway. and IBaseStationAircraftList lists with mocks.

Namespace: Test.Framework
Assembly: Test.Framework (in Test.Framework.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Mock<IFeedManager> CreateMockFeedManager(
	List<Mock<IFeed>> feeds,
	List<Mock<IBaseStationAircraftList>> baseStationAircraftLists,
	List<List<IAircraft>> aircraftLists,
	bool useVisibleFeeds,
	params int[] feedIds
)

Parameters

feeds
Type: System.Collections.GenericListMockIFeed
baseStationAircraftLists
Type: System.Collections.GenericListMockIBaseStationAircraftList
aircraftLists
Type: System.Collections.GenericListListIAircraft
useVisibleFeeds
Type: SystemBoolean
feedIds
Type: SystemInt32

Return Value

Type: MockIFeedManager
See Also