Columns email_categories assign_department_id present messages assigned_department_id present messages assigned_user_id present messages assignment_source present messages assigned_at present messages assigned_by present Routing table per account #27 hari@mukesoft.com — 3 teams, 0 of 11 categories routed team #32 Bussiness no head named team #33 Opertaion no head named team #35 SEO no head named (nothing routed — decide() returns unassigned for every category) #30 _Ami@mukesoft.com — 0 teams, 0 of 11 categories routed (nothing routed — decide() returns unassigned for every category) #32 Prerana@mukesoft.in — 1 teams, 0 of 11 categories routed team #34 HR head: paresh qw (nothing routed — decide() returns unassigned for every category) #39 ami@mukesoft.com — 1 teams, 0 of 6 categories routed team #36 IT head: pankaj yadav (nothing routed — decide() returns unassigned for every category) #72 zzarps-owner@example.invalid — 0 teams, 0 of 11 categories routed (nothing routed — decide() returns unassigned for every category) decide() refuses what it cannot answer [ok] unknown category word got NULL want NULL [ok] empty category word got NULL want NULL [ok] null category word got NULL want NULL [ok] mailbox that does not exist got NULL want NULL [ok] mailbox id zero got NULL want NULL [ok] another account's team does not resolve got NULL want NULL [ok] unassigned() shape got array ( 0 => 'assigned_department_id', 1 => 'assigned_user_id', 2 => 'assignment_source', 3 => 'assigned_at', 4 => 'assigned_by', ) want array ( 0 => 'assigned_department_id', 1 => 'assigned_user_id', 2 => 'assignment_source', 3 => 'assigned_at', 4 => 'assigned_by', ) manualAssignment() keeps the team and the person in step [ok] person's own team wins over the submitted team got 34 want 34 [ok] source is manual got 'manual' want 'manual' [ok] actor recorded got 32 want 32 [ok] empty assignment rejected got 'InvalidArgumentException' want 'InvalidArgumentException' [ok] outsider rejected got 'InvalidArgumentException' want 'InvalidArgumentException' The assigned_ prefix is not claimed by any vocabulary [ok] no vocabulary slug starts with assigned_ got array ( ) want array ( ) [ok] isCrossMailboxSlug(assigned_me) got true want true [ok] isCrossMailboxSlug(a team) got false want false [ok] isCrossMailboxSlug(unrelated) got false want false [ok] non-assignment slug falls through got false want false Listings agree with the counts, per mailbox #27 hari@mukesoft.com — 2,113 mail, 0 assigned [ok] Bussiness listing = count got 0 want 0 [ok] Opertaion listing = count got 0 want 0 [ok] SEO listing = count got 0 want 0 [ok] assigned_any = column count got 0 want 0 [ok] assigned_none listing = count got 2107 want 2107 [ok] no mail has an owner without a team got 0 want 0 [ok] assigned mail always has a source got 0 want 0 [ok] named owners are all in the account got 0 want 0 #28 pankaj@mukesoft.com — 1,810 mail, 0 assigned [ok] IT listing = count got 0 want 0 [ok] assigned_any = column count got 0 want 0 [ok] assigned_none listing = count got 1810 want 1810 [ok] no mail has an owner without a team got 0 want 0 [ok] assigned mail always has a source got 0 want 0 [ok] named owners are all in the account got 0 want 0 #29 rajani@mukesoft.com — 1,918 mail, 0 assigned [ok] IT listing = count got 0 want 0 [ok] assigned_any = column count got 0 want 0 [ok] assigned_none listing = count got 1915 want 1915 [ok] no mail has an owner without a team got 0 want 0 [ok] assigned mail always has a source got 0 want 0 [ok] named owners are all in the account got 0 want 0 #31 Accounts@mukesoft.com — 2,077 mail, 0 assigned [ok] IT listing = count got 0 want 0 [ok] assigned_any = column count got 0 want 0 [ok] assigned_none listing = count got 2077 want 2077 [ok] no mail has an owner without a team got 0 want 0 [ok] assigned mail always has a source got 0 want 0 [ok] named owners are all in the account got 0 want 0 #39 ami@mukesoft.com — 2,269 mail, 3 assigned [ok] IT listing = count got 3 want 3 [ok] assigned_any = column count got 3 want 3 [ok] assigned_none listing = count got 2182 want 2182 [ok] no mail has an owner without a team got 0 want 0 [ok] assigned mail always has a source got 0 want 0 [ok] named owners are all in the account got 0 want 0 All checks passed.