### Question:
MandrillTemplatedEmailSender implements TemplatedEmailSender { @Override public void send(final TemplatedEmailMessage message) { Assert.notNull(message,"Null was passed as an argument for parameter 'message'."); mandrillApiCommunicator.sendEmailTemplate(message); } MandrillTemplatedEmailSender(final MandrillApiCommunicator mandrillApiCommunicator); @Override void send(final TemplatedEmailMessage message);  }### Answer:
@Test public void testSendWithInvalidArguments() { assertThatThrownBy(() -> templatedEmailSender.send(null)) .isInstanceOf(IllegalArgumentException.class); }
@Test public void testSend() { final TemplatedEmailMessage message = new TemplatedEmailMessageBuilder( uuid(), uuid(), uuid(), Collections.singletonMap(uuid(), uuid()), Collections.emptySet() ).build(); templatedEmailSender.send(message); verify(mandrillApiCommunicator).sendEmailTemplate(message); }