mirror of https://github.com/abpframework/abp.git
1 changed files with 22 additions and 0 deletions
@ -0,0 +1,22 @@ |
|||
using Shouldly; |
|||
using Xunit; |
|||
|
|||
namespace Volo.Abp.Domain.Entities.Events.Distributed |
|||
{ |
|||
public class AutoEntityDistributedEventSelectorListExtensions_Tests |
|||
{ |
|||
[Fact] |
|||
public void Add_Entity() |
|||
{ |
|||
var selectors = new AutoEntityDistributedEventSelectorList(); |
|||
selectors.Add<MyEntity>(); |
|||
|
|||
selectors.IsMatch(typeof(MyEntity)).ShouldBeTrue(); |
|||
} |
|||
|
|||
private class MyEntity : Entity<string> |
|||
{ |
|||
|
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue