use of org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate in project pentaho-kettle by pentaho.
the class SharedObjectSyncUtilTest method setUp.
@Before
public void setUp() {
spoon = mock(Spoon.class);
// when( spoon.getRepository() ).thenReturn( spoon.rep );
spoonDelegates = mock(SpoonDelegates.class);
spoonDelegates.jobs = new SpoonJobDelegate(spoon);
spoonDelegates.trans = new SpoonTransformationDelegate(spoon);
spoonDelegates.db = new SpoonDBDelegate(spoon);
spoonDelegates.slaves = new SpoonSlaveDelegate(spoon);
spoonDelegates.partitions = new SpoonPartitionsDelegate(spoon);
spoonDelegates.clusters = new SpoonClustersDelegate(spoon);
spoon.delegates = spoonDelegates;
sharedUtil = new SharedObjectSyncUtil(spoon);
repository = mock(Repository.class);
}
Aggregations