package jp.leafytree.android.hello;

import android.test.ActivityInstrumentationTestCase2;
import android.test.AndroidTestCase;

public class HelloActivityJavaTest extends ActivityInstrumentationTestCase2<HelloActivity> {
    public HelloActivityJavaTest() {
        super(HelloActivity.class);
    }

    public void test1() {
        assertTrue(true);
    }

    public void test2() {
        assertFalse(false);
    }
}


@@ -88,43 +88,38 @@
 e2;%0A
+%0A
 import 
-android.test.AndroidTestCase
+com.robotium.solo.Solo
 ;%0A%0Ap
@@ -210,16 +210,39 @@
 vity%3E %7B%0A
+    public Solo solo;%0A%0A
     publ
@@ -305,32 +305,141 @@
 .class);%0A    %7D%0A%0A
+    @Override%0A    public void setUp() %7B%0A        solo = new Solo(getInstrumentation(), getActivity());%0A    %7D%0A%0A
     public void 
@@ -525,19 +525,55 @@
 sert
-False(false
+True(solo.searchText(%22Hello. I'm Java !%22, true)
 );%0A 
@@ -577,11 +577,10 @@
 ;%0A    %7D%0A
+
 %7D%0A
-%0A

Add assertion