@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
MessagingException
com.fasterxml.jackson.core.JsonParseException
com.fasterxml.jackson.databind.JsonMappingException
IOException
@Test void recipients() throws MessagingException, com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException
MessagingException
com.fasterxml.jackson.core.JsonParseException
com.fasterxml.jackson.databind.JsonMappingException
IOException
@Test void templatedEmail() throws MessagingException, com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException
MessagingException
com.fasterxml.jackson.core.JsonParseException
com.fasterxml.jackson.databind.JsonMappingException
IOException
@Test void emailWithAttachments() throws MessagingException, com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException
MessagingException
com.fasterxml.jackson.core.JsonParseException
com.fasterxml.jackson.databind.JsonMappingException
IOException
@Test void authenticationFailed() throws MessagingException, com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException
MessagingException
com.fasterxml.jackson.core.JsonParseException
com.fasterxml.jackson.databind.JsonMappingException
IOException
@Test void invalidRequest() throws MessagingException, com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException
MessagingException
com.fasterxml.jackson.core.JsonParseException
com.fasterxml.jackson.databind.JsonMappingException
IOException
@Test void tooManyRequests() throws MessagingException, com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException
MessagingException
com.fasterxml.jackson.core.JsonParseException
com.fasterxml.jackson.databind.JsonMappingException
IOException
@Test void internalServerError() throws MessagingException
MessagingException
@Test void templatedEmailWithInlinedImages() throws MessagingException, com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException
MessagingException
com.fasterxml.jackson.core.JsonParseException
com.fasterxml.jackson.databind.JsonMappingException
IOException
Copyright © 2021. All rights reserved.