Esempio n. 1
0
        public void Construct_GivenMessege_ShouldNotBeNull()
        {
            //---------------Set up test pack-------------------
            var dropboxPathNotFileFoundException = new DropboxPathNotFileFoundException();

            //---------------Assert Precondition----------------
            //---------------Execute Test ----------------------
            //---------------Test Result -----------------------
            Assert.IsNotNull(dropboxPathNotFileFoundException);
        }
Esempio n. 2
0
        public void Construct_GivenMessege_ShouldHaveMessegeSet()
        {
            //---------------Set up test pack-------------------
            var dropboxPathNotFileFoundException = new DropboxPathNotFileFoundException();

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

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