Class CollectionExpectation<TReturn>
Defines expectation for a System.Linq.IQueryable collection.
Inheritance
System.Object
CommonExpectation<FuncExpectation<TReturn>>
CollectionExpectation<TReturn>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.JustMock.Expectations
Assembly: Telerik.JustMock.dll
Syntax
public class CollectionExpectation<TReturn> : CommonExpectation<FuncExpectation<TReturn>>, IAction<FuncExpectation<TReturn>>, IDoInstead<FuncExpectation<TReturn>>, IThrows<FuncExpectation<TReturn>>, IAssertable, IMustBeCalled, ISetupBehavior, IOccurrence, IOrder, IPrerequisite, IDisposable, IInstanceScope<FuncExpectation<TReturn>>, IMethodMock, IReturnCollection
Type Parameters
TReturn
|
Methods
ProcessReturnsValue(TReturn)
Implementation detail.
Declaration
protected void ProcessReturnsValue(TReturn value)
Parameters
TReturn
value
|
ReturnsCollection<TArg>(IEnumerable<TArg>)
Returns a enumerable collection for the target query.
Declaration
public IAssertable ReturnsCollection<TArg>(IEnumerable<TArg> collection)
Parameters
System.Collections.Generic.IEnumerable<TArg>
collection
Enumerable collection |
Returns
IAssertable
Instance of IAssertable |
Type Parameters
TArg
Argument type |