コード例 #1
0
        public void WithId_InvitedToBoardNotification_ReturnsCorrectData()
        {
            var expectedData = new InvitedToBoardNotification.NotificationData
            {
                Board = new BoardName
                {
                    Id   = "4f3f548a57189443042c49e1",
                    Name = "Another test board"
                }
            }.ToExpectedObject();

            var actual = (InvitedToBoardNotification)_trelloReadOnly.Notifications.WithId("4f3f5497b821cb1a440044c0");

            expectedData.ShouldEqual(actual.Data);
        }
コード例 #2
0
        public void WithId_InvitedToBoardNotification_ReturnsCorrectData()
        {
            var expectedData = new InvitedToBoardNotification.NotificationData
            {
                Board = new BoardName
                {
                    Id = "4f3f548a57189443042c49e1",
                    Name = "Another test board"
                }
            }.ToExpectedObject();

            var actual = (InvitedToBoardNotification)_trelloReadOnly.Notifications.WithId("4f3f5497b821cb1a440044c0");

            expectedData.ShouldEqual(actual.Data);
        }