Exemplo n.º 1
0
        public void DataBoxGetEntries()
        {
            //Arrange
            var data  = new DataBox("test.dat");
            var entry = data.NewLinkEntry("entry", "description");

            //Act
            var entries = data.GetEntriesByName("entry");

            //Assert
            Assert.AreEqual(entry, entries[0]);
        }