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