public interface DtoTester
| Modifier and Type | Interface and Description |
|---|---|
static interface |
DtoTester.Builder<T>
Builder interface for configuring and building a DtoTester instance.
|
static class |
DtoTester.MutatorType
Enum for defining mutator types.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> @NotNull DtoTester.Builder<T> |
builder(@NotNull Class<T> type,
@NotNull Supplier<? extends T> constructor)
Builds a new DtoTester with the given type and constructor.
|
void |
test()
Executes all the configured tests on the DTO.
|
void test()
@NotNull static <T> @NotNull DtoTester.Builder<T> builder(@NotNull @NotNull Class<T> type, @NotNull @NotNull Supplier<? extends T> constructor)
type - The class of the DTO.constructor - A supplier that constructs instances of the DTO.Copyright © 2024. All rights reserved.