Click or drag to resize
FeedHelperCreateMockFeedManager Method (ListMock`1IFeed, ListMock`1IListener, Boolean, Int32)
Creates a mock IFeedManager singleton with a functioning Feeds property and methods, and populates the IFeed and IListener 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<IListener>> listeners,
	bool useVisibleFeeds,
	params int[] feedIds
)

Parameters

feeds
Type: System.Collections.GenericListMockIFeed
listeners
Type: System.Collections.GenericListMockIListener
useVisibleFeeds
Type: SystemBoolean
feedIds
Type: SystemInt32

Return Value

Type: MockIFeedManager
See Also