Package org.talend.sdk.component.junit
Class RecordAsserts
- java.lang.Object
-
- org.talend.sdk.component.junit.RecordAsserts
-
- All Implemented Interfaces:
Serializable
,Function<Iterable<Map<String,List<Serializable>>>,Void>
public final class RecordAsserts extends Object implements Function<Iterable<Map<String,List<Serializable>>>,Void>, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RecordAsserts.SerializableConsumer<A>
-
Constructor Summary
Constructors Constructor Description RecordAsserts()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
apply(Iterable<Map<String,List<Serializable>>> input)
<R extends Serializable>
RecordAssertswithAsserts(String outputName, RecordAsserts.SerializableConsumer<List<R>> validator)
-
-
-
Constructor Detail
-
RecordAsserts
public RecordAsserts()
-
-
Method Detail
-
withAsserts
public <R extends Serializable> RecordAsserts withAsserts(String outputName, RecordAsserts.SerializableConsumer<List<R>> validator)
-
-