### Question:
EmailServiceImpl implements EmailService { @Override public void sendChangePlaceStatusEmail(String authorName, String placeName, String placeStatus, String authorEmail) { log.info(LogMessage.IN_SEND_CHANGE_PLACE_STATUS_EMAIL, placeName); Map<String, Object> model = new HashMap<>(); model.put(EmailConstants.CLIENT_LINK, clientLink); model.put(EmailConstants.USER_NAME, authorName); model.put(EmailConstants.PLACE_NAME, placeName); model.put(EmailConstants.STATUS, placeStatus); String template = createEmailTemplate(model, EmailConstants.CHANGE_PLACE_STATUS_EMAIL_PAGE); sendEmail(authorEmail, EmailConstants.GC_CONTRIBUTORS, template); } @Autowired  EmailServiceImpl(JavaMailSender javaMailSender,
                            ITemplateEngine templateEngine,
                            @Qualifier("sendEmailExecutor") Executor executor,
                            @Value("${client.address}") String clientLink,
                            @Value("${econews.address}") String ecoNewsLink,
                            @Value("${address}") String serverLink,
                            @Value("${sender.email.address}") String senderEmailAddress); @Override void sendChangePlaceStatusEmail(String authorName, String placeName,
                                           String placeStatus, String authorEmail); @Override void sendAddedNewPlacesReportEmail(List<PlaceAuthorDto> subscribers,
                                              Map<CategoryDto, List<PlaceNotificationDto>> categoriesWithPlaces,
                                              String notification); @Override void sendNewNewsForSubscriber(List<NewsSubscriberResponseDto> subscribers,
                                         AddEcoNewsDtoResponse newsDto); @Override void sendVerificationEmail(Long id, String name, String email, String token); @Override void sendRestoreEmail(Long userId, String userName, String userEmail, String token); @Override void sendHabitNotification(String name, String email);  }### Answer:
@Test public void sendChangePlaceStatusEmailTest() { String authorFirstName = "test author first name"; String placeName = "test place name"; String placeStatus = "test place status"; String authorEmail = "test author email"; service.sendChangePlaceStatusEmail(authorFirstName, placeName, placeStatus, authorEmail); verify(javaMailSender).createMimeMessage(); }