SetMailboxesMethod implements Method { @Override public Request.Name requestHandled() { return METHOD_NAME; } @Inject  SetMailboxesMethod(Set<SetMailboxesProcessor> processors, MetricFactory metricFactory); @Override Request.Name requestHandled(); @Override Class<? extends JmapRequest> requestType(); @Override Stream<JmapResponse> processToStream(JmapRequest request, MethodCallId methodCallId, MailboxSession mailboxSession);  }
@Test public void requestHandledShouldBeSetMailboxes() { assertThat(new SetMailboxesMethod(NO_PROCESSOR, TIME_METRIC_FACTORY).requestHandled().getName()).isEqualTo("setMailboxes"); }