public void GetNotesByTagTest() { var note = new NoteNode("testTag", "content"); var tree = new NoteTree(note); IEnumerable <NoteNode> result = tree.GetNotesByTag("testTag"); Assert.AreEqual(result.Count(), 1); Assert.AreEqual(result.ElementAt(0), note); }