public void ReturnsPrimaryAccountHolderWhenFound([Frozen]Mock<IAccountRepository> accountRepository, AccountService sut)
 {
     var expected = new Person(Enumerable.Empty<Address>());
     accountRepository.Setup(r => r.Lookup(It.IsAny<AccountLookup>())).Returns(expected);
     var actual = sut.GetPrimaryAccountHolder(Guid.NewGuid());
     Assert.Equal(expected, actual);
 }
 public void WhenAccountIdEmptyArgumentExceptionThrown(AccountService sut)
 {
     var ex = Assert.Throws<ArgumentException>(() => sut.GetPrimaryAccountHolder(Guid.Empty));
     Assert.Contains("AccountId cannot be empty", ex.Message);
 }