C# Class Snooze.AutoMock.Castle.MoqContrib.AutoMock.MockingUtilities

tidbits of functionality that are useful internally
Datei anzeigen Open project: nhsevidence/Snooze

Public Methods

Method Description
GetMockFor ( object possiblyMocked ) : Mock

If the object is actually a mocked object, return the mock that controlls this mocked object.

Method Details

GetMockFor() public static method

If the object is actually a mocked object, return the mock that controlls this mocked object.
public static GetMockFor ( object possiblyMocked ) : Mock
possiblyMocked object
return Mock