public void DropBoxSource_Other_IsNull_Equals_ExpectFalse()
        {
            //------------------------Arrange-------------------------
            var element = XElement.Parse(conStr);
            //------------------------Act-----------------------------
            var mockOAuthSource = new Mock <IOAuthSource>();

            mockOAuthSource.Setup(o => o.AppKey).Returns("");
            mockOAuthSource.Setup(o => o.AccessToken).Returns("");

            var dropBoxSource = new DropBoxSource(element);

            var isDropboxSource = dropBoxSource.Equals(null);

            //------------------------Assert--------------------------
            Assert.IsFalse(isDropboxSource);
        }
        public void DropBoxSource_AppKey_And_AccessToken_Equals_ExpectTrue()
        {
            //------------------------Arrange-------------------------
            var element = XElement.Parse(conStr);
            //------------------------Act-----------------------------
            var mockOAuthSource = new Mock <IOAuthSource>();

            mockOAuthSource.Setup(o => o.AppKey).Returns("");
            mockOAuthSource.Setup(o => o.AccessToken).Returns("");

            var dropBoxSource = new DropBoxSource(element);

            var isDropboxSource = dropBoxSource.Equals(mockOAuthSource.Object);

            //------------------------Assert--------------------------
            Assert.IsTrue(isDropboxSource);
        }