Update exception for empty non-sync messages to MessageSender

This commit is contained in:
Chris Eager authored and Chris Eager committed 2026-04-15 17:03:10 -05:00
1 parent b702d9d5a9
commit aabbbe486f
2 files changed
+5 -2

No files matched your search

@@ -576,7 +576,7 @@ class MessageSenderTest {
when(account.getDevices()).thenReturn(List.of(device));
when(account.isIdentifiedBy(serviceIdentifier)).thenReturn(true);
assertThrows(MismatchedDevicesException.class, () -> messageSender.sendMessages(account,
assertThrows(IllegalArgumentException.class, () -> messageSender.sendMessages(account,
serviceIdentifier,
Collections.emptyMap(),
Collections.emptyMap(),