public async Task CreateNoteShouldSuccess() { string userId = "*****@*****.**"; Note note = new Note { Id = 2, Title = "Test", Content = "Unit Testing using Nunit", CreationDate = DateTime.Now }; await noteRepository.AddNoteForExistingUser(userId, note); var result = await noteRepository.GetNotesByUser(userId); Assert.AreEqual(2, result.Count); Assert.AreEqual("Test", result[1].Title); Assert.AreEqual(2, result[1].Id); }