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

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

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