Esempio n. 1
0
        public void Contacts_Delete()
        {
            // Set test Create method w/o parameters
            request.Setup(m => m.Delete("contacts", 1234, null)).Returns(true);

            // Test Get method
            var result = contactsProxy.Delete(1234);

            // Verify test
            Assert.IsNotNull(result);
            Assert.IsTrue(result.IsSuccessful);
            Assert.IsTrue(result.Data);
        }