use of org.pentaho.metaverse.impl.model.kettle.LineageRepository in project pentaho-metaverse by pentaho.
the class TableOutputStepMetaJsonSerializerTest method setUp.
@Before
public void setUp() throws Exception {
repo = new LineageRepository();
serializer = new TableOutputStepMetaJsonSerializer(TableOutputMeta.class, repo);
meta = spy(new TableOutputMeta());
}
use of org.pentaho.metaverse.impl.model.kettle.LineageRepository in project pentaho-metaverse by pentaho.
the class AbstractStepMetaJsonSerializerTest method setUp.
@Before
public void setUp() throws Exception {
repo = new LineageRepository();
serializer = new BaseStepMetaJsonSerializer(BaseStepMeta.class, repo);
spyMeta = spy(new BaseStepMeta());
spyParent = spy(new StepMeta());
spyParentTrans = spy(new TransMeta());
when(spyMeta.getParentStepMeta()).thenReturn(spyParent);
when(spyParent.getName()).thenReturn(STEP_META_NAME);
}
Aggregations