@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="ogham-only") public class OghamAutoConfigurationOghamPropertiesOnlyTest extends Object
Modifier and Type | Field and Description |
---|---|
com.icegreen.greenmail.junit4.GreenMailRule |
greenMail |
LoggingTestRule |
loggingRule |
(package private) int |
port |
Constructor and Description |
---|
OghamAutoConfigurationOghamPropertiesOnlyTest() |
public final LoggingTestRule loggingRule
@Autowired public com.icegreen.greenmail.junit4.GreenMailRule greenMail
@Value(value="${local.server.port}") int port
public OghamAutoConfigurationOghamPropertiesOnlyTest()
public void simple() throws javax.mail.MessagingException, IOException
javax.mail.MessagingException
IOException
public void thymeleaf() throws javax.mail.MessagingException, IOException
javax.mail.MessagingException
IOException
public void freemarker() throws javax.mail.MessagingException, IOException
javax.mail.MessagingException
IOException
Copyright © 2021. All rights reserved.