public void Construct_GivenMessege_ShouldNotBeNull() { //---------------Set up test pack------------------- var dropboxPathNotFileFoundException = new DropboxPathNotFileFoundException(); //---------------Assert Precondition---------------- //---------------Execute Test ---------------------- //---------------Test Result ----------------------- Assert.IsNotNull(dropboxPathNotFileFoundException); }
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); }