public class CustomSenderBuilderTest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CustomSenderBuilderTest.CustomChainingBuilder |
static class |
CustomSenderBuilderTest.InvalidBuilder |
Modifier and Type | Field and Description |
---|---|
(package private) EmailSender |
configuredSender |
LoggingTestRule |
logging |
org.mockito.junit.MockitoRule |
mockito |
Constructor and Description |
---|
CustomSenderBuilderTest() |
Modifier and Type | Method and Description |
---|---|
void |
asDeveloperICantRegisterABuilderWithWrongConstructor() |
void |
asDeveloperICantRegisterANonVisible() |
void |
asDeveloperIRegisterACustomBuilderWithFluentChaining() |
void |
asDeveloperIRegisterACustomBuilderWithoutFluentChaining() |
public final org.mockito.junit.MockitoRule mockito
public final LoggingTestRule logging
@Mock EmailSender configuredSender
public void asDeveloperIRegisterACustomBuilderWithFluentChaining()
public void asDeveloperIRegisterACustomBuilderWithoutFluentChaining()
public void asDeveloperICantRegisterANonVisible()
public void asDeveloperICantRegisterABuilderWithWrongConstructor()
Copyright © 2021. All rights reserved.