Example #1
0
        public void Test_DeleteAll_ClearsDatabase()
        {
            Rock newRock = new Rock("sapphire", 1);

            newRock.Save();

            Rock.DeleteAll();
            int result = Rock.GetAll().Count;

            Assert.Equal(0, result);
        }
Example #2
0
 public void Dispose()
 {
     Rock.DeleteAll();
 }