public void TestCreateIdentifier() { IdentifierModel identifier = new IdentifierModel { Type = IdentifierTypes.Email, Value = "Test Value", PersonId = _db.Persons.FirstOrDefault().Id }; var result = _controller.CreateIdentifier(identifier); ProcessResult(result); }