예제 #1
0
        public void AddContact_NewContact_CorrectResult()
        {
            // SetUp
            Initialize();
            var newContact = ContactHelper.AddNewContactViewModel();

            // Act
            accountController.AddContact(newContact);
            var model = accountController.GetContact(0);

            // Assert
            Assert.NotNull(model);
        }