@SpringBootTest(classes=MockApplication.class, webEnvironment=NONE, properties={"ogham.sms.cloudhopper.host=localhost","ogham.sms.ovh.password=bar","greenmail.smtp.port=3025","jsmpp.server.port=2775"}) @ActiveProfiles(value="spring-only") public class SpringPropertiesOnlyTest extends Object
Modifier and Type | Field and Description |
---|---|
(package private) MessagingBuilder |
builder |
LoggingTestRule |
loggingRule |
(package private) com.sendgrid.SendGrid |
springSendGridClient |
Constructor and Description |
---|
SpringPropertiesOnlyTest() |
public final LoggingTestRule loggingRule
@Autowired MessagingBuilder builder
@Autowired(required=false) com.sendgrid.SendGrid springSendGridClient
public void cloudhopperPropertiesDefinedInAppPropertiesOrInSystemPropertiesShouldOverrideOghamDefaultProperties() throws IllegalAccessException
IllegalAccessException
public void ovhPropertiesDefinedInAppPropertiesOrInSystemPropertiesShouldOverrideOghamDefaultProperties()
public void sendGridPropertiesDefinedInAppPropertiesOrInSystemPropertiesShouldOverrideOghamDefaultProperties() throws IllegalAccessException
IllegalAccessException
Copyright © 2021. All rights reserved.