예제 #1
0
        public void Construct_GivenMessege_ShouldNotBeNull()
        {
            //---------------Set up test pack-------------------
            var dropboxFileMalformdedException = new DropboxFileMalformdedException();

            //---------------Assert Precondition----------------
            //---------------Execute Test ----------------------
            //---------------Test Result -----------------------
            Assert.IsNotNull(dropboxFileMalformdedException);
        }
예제 #2
0
        public void Construct_GivenMessege_ShouldHaveMessegeSet()
        {
            //---------------Set up test pack-------------------
            var value = new DropboxFileMalformdedException();

            //---------------Assert Precondition----------------
            Assert.IsNotNull(value);
            //---------------Execute Test ----------------------
            var message = value.Message;

            //---------------Test Result -----------------------
            Assert.AreEqual(GlobalConstants.DropboxPathMalformdedException, message);
        }