public async Task AcceptUserFailsGracefullyWhenEmailDoesNotExist() { var response = await _controller.Accept(new AcceptRequestInformation("[email protected]", "Monkey", Guid.Empty, Database, "1admin.abc")); Assert.That(response.StatusCode, Is.EqualTo(HttpStatusCode.PreconditionFailed)); }