@SpringBootTest(classes=MockApplication.class, webEnvironment=RANDOM_PORT) @ContextConfiguration(initializers={fr.sii.ogham.testing.extension.spring.GreenMailInitializer.class,fr.sii.ogham.testing.extension.spring.JsmppServerInitializer.class}) @ActiveProfiles(value="spring-only") public class OghamAutoConfigurationSpringPropertiesOnlyTest extends Object
| Modifier and Type | Field and Description |
|---|---|
com.icegreen.greenmail.junit4.GreenMailRule |
greenMail |
LoggingTestRule |
loggingRule |
(package private) int |
port |
| Constructor and Description |
|---|
OghamAutoConfigurationSpringPropertiesOnlyTest() |
public final LoggingTestRule loggingRule
@Autowired public com.icegreen.greenmail.junit4.GreenMailRule greenMail
@Value(value="${local.server.port}")
int port
public OghamAutoConfigurationSpringPropertiesOnlyTest()
public void simple()
throws javax.mail.MessagingException,
IOException
javax.mail.MessagingExceptionIOExceptionpublic void thymeleaf()
throws javax.mail.MessagingException,
IOException
javax.mail.MessagingExceptionIOExceptionpublic void freemarker()
throws javax.mail.MessagingException,
IOException
javax.mail.MessagingExceptionIOExceptionCopyright © 2021. All rights reserved.