public void Arrange() { _membershipRepository = new Mock <IMembershipRepository>(); _membershipRepository.Setup(x => x.GetCaller(It.IsAny <long>(), It.IsAny <string>())) .ReturnsAsync(new MembershipView { RoleId = (short)Role.Owner }); _validator = new GetPreviousTransactionsCountRequestValidator(_membershipRepository.Object); }
public void Arrange() { _validator = new GetPreviousTransactionsCountRequestValidator(); }