- java.lang.Object
-
- com.remondis.remap.RestructureAssertBuilder<S,D,RD>
-
- Type Parameters:
S- The source typeD- The destination typeRD- The type of the destination field
public class RestructureAssertBuilder<S,D,RD> extends Object
Builder to assert a set operation on aMapperobject usingAssertConfiguration.- Author:
- schuettec
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssertConfiguration<S,D>applying(Consumer<RestructuringAssertConfiguration<S,RD>> restructureMappingAssertions)Expects a restructure-mapping with the specified mapping configuration.AssertConfiguration<S,D>implicitly()Expects a restructure mapping using an implicit mapping.
-
-
-
Method Detail
-
implicitly
public AssertConfiguration<S,D> implicitly()
Expects a restructure mapping using an implicit mapping.- Returns:
- Returns the
AssertConfigurationfor further configuration.
-
applying
public AssertConfiguration<S,D> applying(Consumer<RestructuringAssertConfiguration<S,RD>> restructureMappingAssertions)
Expects a restructure-mapping with the specified mapping configuration.- Parameters:
restructureMappingAssertions- The assertions made about the mapper used for restructuring.- Returns:
- Returns the
AssertConfigurationfor further configuration.
-
-