@Test
public void testWordCountOnFileSet() throws Exception {
ApplicationManager applicationManager = deployApplication(FileSetExample.class);
final String line1 = "a b a";
final String line2 = "b a b";
<BUG>ServiceManager serviceManager = applicationManager.startService("FileSetService");

serviceManager.waitForStatus(true);</BUG>
URL serviceURL = serviceManager.getServiceURL();
HttpURLConnection connection = (HttpURLConnection) new URL(serviceURL, "lines?path=nn.1").openConnection();

@Test
public void testWordCountOnFileSet() throws Exception {
ApplicationManager applicationManager = deployApplication(FileSetExample.class);
final String line1 = "a b a";
final String line2 = "b a b";
ServiceManager serviceManager = applicationManager.getServiceManager("FileSetService");
serviceManager.start();
serviceManager.waitForStatus(true);
URL serviceURL = serviceManager.getServiceURL();
HttpURLConnection connection = (HttpURLConnection) new URL(serviceURL, "lines?path=nn.1").openConnection();
