public void Arrange() { MappingBootstrapper.Initialize(); var contactCreateDomainModel = Builder <Contact> .CreateNew().Build(); var mockSet = CreateMockSet(); CreateMockDbCOntext(mockSet); _contactRepository = new ContactRepository(_assessorDbContext.Object, new Mock <IDbConnection>().Object); _result = _contactRepository.CreateNewContact(contactCreateDomainModel).Result; }