@LogTestInformation @ExtendWith(value=org.mockito.junit.jupiter.MockitoExtension.class) class SendGridHttpTest extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) IdGenerator |
generator |
| Constructor and Description |
|---|
SendGridHttpTest() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
authenticationFailed() |
(package private) void |
clean() |
(package private) void |
emailWithAttachments() |
(package private) void |
internalServerError() |
(package private) void |
invalidRequest() |
(package private) void |
recipients() |
(package private) void |
setup() |
(package private) void |
simpleEmail() |
(package private) void |
templatedEmail() |
(package private) void |
templatedEmailWithInlinedImages() |
(package private) void |
tooManyRequests() |
@Mock IdGenerator generator
@BeforeEach void setup()
@AfterEach void clean()
@Test
void simpleEmail()
throws MessagingException,
com.fasterxml.jackson.core.JsonParseException,
com.fasterxml.jackson.databind.JsonMappingException,
IOException
MessagingExceptioncom.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOException@Test
void recipients()
throws MessagingException,
com.fasterxml.jackson.core.JsonParseException,
com.fasterxml.jackson.databind.JsonMappingException,
IOException
MessagingExceptioncom.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOException@Test
void templatedEmail()
throws MessagingException,
com.fasterxml.jackson.core.JsonParseException,
com.fasterxml.jackson.databind.JsonMappingException,
IOException
MessagingExceptioncom.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOException@Test
void emailWithAttachments()
throws MessagingException,
com.fasterxml.jackson.core.JsonParseException,
com.fasterxml.jackson.databind.JsonMappingException,
IOException
MessagingExceptioncom.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOException@Test
void authenticationFailed()
throws MessagingException,
com.fasterxml.jackson.core.JsonParseException,
com.fasterxml.jackson.databind.JsonMappingException,
IOException
MessagingExceptioncom.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOException@Test
void invalidRequest()
throws MessagingException,
com.fasterxml.jackson.core.JsonParseException,
com.fasterxml.jackson.databind.JsonMappingException,
IOException
MessagingExceptioncom.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOException@Test
void tooManyRequests()
throws MessagingException,
com.fasterxml.jackson.core.JsonParseException,
com.fasterxml.jackson.databind.JsonMappingException,
IOException
MessagingExceptioncom.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOException@Test
void internalServerError()
throws MessagingException
MessagingException@Test
void templatedEmailWithInlinedImages()
throws MessagingException,
com.fasterxml.jackson.core.JsonParseException,
com.fasterxml.jackson.databind.JsonMappingException,
IOException
MessagingExceptioncom.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionCopyright © 2021. All rights reserved.