public GetAdminUnitTest() { getAllAdminRepositoryMock = new Mock <IGetAllAdminRepository>(); getEncrypteListEventHandlerMock = new Mock <IAdminEncrypteListEventHandler>(); getAllAdminQuery = new GetAllAdminQueryHandler(getAllAdminRepositoryMock.Object, getEncrypteListEventHandlerMock.Object); }
public GetAllAdminApiCommandHandler(IGetAllAdminQueryHandler getAllAdminQuery) { this.getAllAdminQuery = getAllAdminQuery; }