-
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface WithMailServer
Any class annotated with annotation would benefit of a mock mail
server instance launched which can be used to test against sending mails
-
-
Required Element Summary
Required Elements
Modifier and Type |
Required Element and Description |
String |
host |
-
Optional Element Summary
Optional Elements
Modifier and Type |
Optional Element and Description |
int |
port |
-
-
-
port
public abstract int port
- Returns:
- port configuration for the mail server
- Default:
- 25
Copyright © 2013-2018–2019 SeedStack. All rights reserved.