StreamManager streamManager = getStreamManager("backlinkURLStream");
streamManager.send(URL_PAIR12);
streamManager.send(URL_PAIR13);
streamManager.send(URL_PAIR21);
streamManager.send(URL_PAIR31);
<BUG>ServiceManager transformServiceManager = appManager.startService(SparkPageRankApp.GOOGLE_TYPE_PR_SERVICE_NAME);

ServiceManager serviceManager = appManager.startService(SparkPageRankApp.RANKS_SERVICE_NAME);

transformServiceManager.waitForStatus(true);
SparkManager sparkManager = appManager.startSpark("SparkPageRankProgram");

sparkManager.waitForFinish(60, TimeUnit.SECONDS);</BUG>
serviceManager.waitForStatus(true);

StreamManager streamManager = getStreamManager("backlinkURLStream");
streamManager.send(URL_PAIR12);
streamManager.send(URL_PAIR13);
streamManager.send(URL_PAIR21);
streamManager.send(URL_PAIR31);
ServiceManager transformServiceManager = appManager.getServiceManager(SparkPageRankApp.GOOGLE_TYPE_PR_SERVICE_NAME);
transformServiceManager.start();
ServiceManager serviceManager = appManager.getServiceManager(SparkPageRankApp.RANKS_SERVICE_NAME);
serviceManager.start();
transformServiceManager.waitForStatus(true);
SparkManager sparkManager = appManager.getSparkManager("SparkPageRankProgram");
sparkManager.start();
sparkManager.waitForFinish(60, TimeUnit.SECONDS);
serviceManager.waitForStatus(true);
