### Question:
BroadcastMessageStorage extends AbstractMessageStorage { @Override public void removeMessages(Instant olderThan) { execute(messageStorage -> messageStorage.removeMessages(olderThan), "Can`t remove message older than '" + olderThan.toString() + "' from all storages"); } BroadcastMessageStorage(AbstractMessageStorage primaryStorage, List<AbstractMessageStorage> secondaryStorages);  BroadcastMessageStorage(AbstractMessageStorage primaryStorage, AbstractMessageStorage... secondaryStorages); @Override ScriptRun openScriptRun(String name, String description); @Override void closeScriptRun(ScriptRun scriptRun); @Override Iterable<MessageRow> getMessages(int count, MessageFilter filter); @Override Iterable<MessageRow> getMessages(int offset, int count, String where); @Override void removeMessages(Instant olderThan); @Override void removeMessages(String serviceID); @Override void clear(); @Override void dispose();  }### Answer:
@Test public void testRemoveMessagesOlderThan() { broadcastMessageStorage.removeMessages(Instant.now()); verifyExecution(FakeMessageStorage::isRemoveMessagesOlderThan); }
@Test public void testRemoveMessagesServiceID() { broadcastMessageStorage.removeMessages(""); verifyExecution(FakeMessageStorage::isRemoveMessagesServiceID); }