public void B_Read_1()
        {
            a = new Project.Data.Repository(db);
            IEnumerable <Project.Domain.Journal> alist = a.GetJournals();

            Assert.Pass();
        }
        public void D_Delete()
        {
            a = new Project.Data.Repository(db);
            int jour = 0;

            foreach (var i in a.GetJournals())
            {
                jour = i.Id;
            }
            a.DeleteJournal(jour);
            Assert.Pass();
        }
        public void B_Read_3()
        {
            a = new Project.Data.Repository(db);
            int jour = 0;

            foreach (var i in a.GetJournals())
            {
                jour = i.Id;
            }
            unitTest = a.GetJournalByTitle("Test Title");
            Assert.AreEqual(unitTest.Id, jour);
        }
        public void B_Read_2()
        {
            a = new Project.Data.Repository(db);
            int jour = 0;

            foreach (var i in a.GetJournals())
            {
                jour = i.Id;
            }
            unitTest = a.GetJournalById(jour);
            Assert.AreEqual(unitTest.JournalEntry, "Test 1");
        }
        public void C_Update()
        {
            a = new Project.Data.Repository(db);
            int jour = 0;

            foreach (var i in a.GetJournals())
            {
                jour = i.Id;
            }
            unitTest = a.GetJournalById(jour);
            unitTest.JournalEntry = "Test new entry";
            a.UpdateJournal(unitTest);
            unitTest = a.GetJournalById(jour);
            Assert.AreEqual(unitTest.JournalEntry, "Test new entry");
        }