public async Task CreatedIssueNoteCanBeRetrieved() { //arrange string body = "comment1"; var issue = await _sut.CreateAsync(TestProjectTextId, new CreateIssueRequest(Guid.NewGuid().ToString()) { Description = "Description" }); //act var note = await _sut.CreateNoteAsync(TestProjectTextId, issue.Iid, new CreateIssueNoteRequest { Body = body, CreatedAt = DateTime.Now }); var issueNotes = (await _sut.GetNotesAsync(TestProjectId, issue.Iid)).FirstOrDefault(i => i.Body == body); var issueNote = await _sut.GetNoteAsync(TestProjectId, issue.Iid, note.Id); //assert note.Should().Match <Note>(n => n.Body == body); issueNotes.Should().BeEquivalentTo(note, o => o.Excluding(s => s.UpdatedAt)); issueNote.Should().BeEquivalentTo(note, o => o.Excluding(s => s.UpdatedAt)); }