Example #1
0
        public void Release_Delete()
        {
            // Set test Create method w/o parameters
            request.Setup(m => m.Delete("releases", 1234, null)).Returns(true);

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

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