Example #1
0
        public void ClearShouldRemoveAllVersionsFromTable()
        {
            var table = new SettingsTable <string, string>();

            table.AddVersion(new SettingsTableVersion <string, string>());

            Assert.NotEmpty(table.Versions);

            table.Clear();

            Assert.Empty(table.Versions);
        }