Class EntityCache_Tests<TStartupModule>
Inheritance
EntityCache_Tests<TStartupModule>
Assembly: Volo.Abp.TestApp.dll
Syntax
public abstract class EntityCache_Tests<TStartupModule> : TestAppTestBase<TStartupModule>, IDisposable where TStartupModule : IAbpModule
Type Parameters
Name |
Description |
TStartupModule |
|
Constructors
EntityCache_Tests()
Declaration
protected EntityCache_Tests()
Fields
ProductCacheItem
Declaration
protected readonly IEntityCache<ProductCacheItem, Guid> ProductCacheItem
Field Value
ProductEntityCache
Declaration
protected readonly IEntityCache<Product, Guid> ProductEntityCache
Field Value
ProductRepository
Declaration
protected readonly IRepository<Product, Guid> ProductRepository
Field Value
Methods
Should_Return_EntityCache()
Declaration
public Task Should_Return_EntityCache()
Returns
Should_Return_New_EntityCache_IF_Updated()
Declaration
public Task Should_Return_New_EntityCache_IF_Updated()
Returns
Should_Return_Null_IF_Deleted()
Declaration
public Task Should_Return_Null_IF_Deleted()
Returns
Should_Return_Null_IF_Entity_Not_Exist()
Declaration
public Task Should_Return_Null_IF_Entity_Not_Exist()
Returns
Should_Throw_EntityNotFoundException_IF_Entity_Not_Exist()
Declaration
public Task Should_Throw_EntityNotFoundException_IF_Entity_Not_Exist()
Returns
Implements
Extension Methods