CtripPlatformEmailService implements EmailService { @Override public int getOrder() { return HIGHEST_PRECEDENCE; }  @Override void sendEmail(Email email); @Override CheckEmailResponse checkEmailAddress(String address); @Override CommandFuture<EmailResponse> sendEmailAsync(Email email); @Override CommandFuture<EmailResponse> sendEmailAsync(Email email, Executor executor); @Override @SuppressWarnings("unchecked") boolean checkAsyncEmailResult(EmailResponse response); @Override int getOrder();  }
@Test public void getOrder() throws Exception { int expected = -2147483648; Assert.assertEquals(expected, emailService.getOrder()); }