Ejemplo n.º 1
0
        public void Construct_GivenMessege_ShouldNotBeNull()
        {
            //---------------Set up test pack-------------------
            var dropboxFileNotFoundException = new DropboxFileNotFoundException();

            //---------------Assert Precondition----------------
            //---------------Execute Test ----------------------
            //---------------Test Result -----------------------
            Assert.IsNotNull(dropboxFileNotFoundException);
        }
Ejemplo n.º 2
0
        public void Construct_GivenMessege_ShouldHaveMessegeSet()
        {
            //---------------Set up test pack-------------------
            var dropboxFileNotFoundException = new DropboxFileNotFoundException();

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

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