package com.eqot.xray;

import android.content.Intent;
import android.test.ServiceTestCase;

import org.junit.Test;

public class SampleAndroidServiceTest extends ServiceTestCase<SampleAndroidService> {
    public SampleAndroidServiceTest() {
        super(SampleAndroidService.class);
    }

    @Test
    public void testStartService() throws Exception {
        final Intent startIntent = new Intent();
        startIntent.setClass(getContext(), SampleAndroidService.class);
        startService(startIntent);

        final SampleAndroidService service = getService();
        assertNotNull(service);
    }
}
@@ -97,24 +97,112 @@
 ort 
-org.junit.Test;%0A
+com.eqot.xray.xray.SampleAndroidService$Xray;%0A%0Aimport org.junit.Test;%0A%0A@Xray(SampleAndroidService.class)
 %0Apub
@@ -280,16 +280,21 @@
 dService
+$Xray
 %3E %7B%0A    
@@ -355,32 +355,37 @@
 leAndroidService
+$Xray
 .class);%0A    %7D%0A%0A
@@ -556,24 +556,29 @@
 droidService
+$Xray
 .class);%0A   
@@ -644,16 +644,21 @@
 dService
+$Xray
  service

Fix incorrect test code