Interface IReturnCollection
Defines member for mocking System.Linq.IQueryable collection.
Namespace: Telerik.JustMock.Expectations.Abstraction
Assembly: Telerik.JustMock.dll
Syntax
public interface IReturnCollection
Methods
ReturnsCollection<TArg>(IEnumerable<TArg>)
Returns a enumerable collection for the target query.
Declaration
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 |