Example #1
0
        public void TestRevert()
        {
            const string revisionId = "123";

            m_Model.RequestRevert(revisionId, new List <string> {
                "a", "b", "c"
            });
            Assert.AreEqual(1, m_Provider.RequestedRevertCount);
            Assert.AreEqual(revisionId, m_Provider.RequestedRevertRevisionId);
            Assert.AreEqual(3, m_Provider.RequestedRevertFileCount);
        }