public async Task ThenTheCorrectAccountDetailsShouldBeReturned() { //Act var response = await _orchestrator.GetEmployerAccount("ABC123"); //Assert _mediator.Verify(x => x.SendAsync(It.Is <GetEmployerAccountHashedQuery>(q => q.HashedAccountId.Equals(_account.HashedId)))); Assert.AreEqual(_account.HashedId, response.Data.HashedId); Assert.AreEqual(_account.Name, response.Data.Name); Assert.AreEqual(HttpStatusCode.OK, response.Status); }