public void WithId_CommentCardNotification_ReturnsCorrectData() { var expectedData = new CommentCardNotification.NotificationData { Board = new BoardName { Id = "4f2b8b4d4f2cb9d16d3684c9", Name = "Welcome Board" }, Card = new CardName { Id = "4f2b8b4d4f2cb9d16d3684e6", Name = "Welcome to Trello!" }, Text = "A test comment" }.ToExpectedObject(); var actual = (CommentCardNotification)_trelloReadOnly.Notifications.WithId("4f3f5d073cf351b243024181"); expectedData.ShouldEqual(actual.Data); }