public void WithId_AnAddMemberToBoardAction_ReturnsExpectedAction() { const string actionId = "4f359bd2655ca8cf3f047648"; var expected = new AddMemberToBoardAction { Id = actionId, IdMemberCreator = TestUser, Date = new DateTime(2012, 02, 10, 22, 36, 02, 209), Data = new AddMemberToBoardAction.ActionData { Board = TheWelcomeBoard(), IdMember = "4ece5a165237e5db06624a2a" }, MemberCreator = CreateActionMemberOskar() }.ToExpectedObject(); var actual = _trelloReadOnly.Actions.WithId(actionId); expected.ShouldEqual(actual); }