package com.ibm.mobilefirstplatform.clientsdk.android.app;

import android.app.Application;
import android.test.ApplicationTestCase;

import com.ibm.mobilefirst.clientsdk.android.push.api.IBMPush;
import com.ibm.mobilefirst.clientsdk.android.push.api.IBMPushException;
import com.ibm.mobilefirst.clientsdk.android.push.api.IBMPushResponseListener;

/**
 * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
 */
public class ApplicationTest extends ApplicationTestCase<Application> {
    public ApplicationTest() {
        super(Application.class);
    }

    public static void main(String[] args){
        IBMPush push = IBMPush.initializeService();

        push.register("sampleAlias", "sampleConsumerId", new IBMPushResponseListener<String>() {

            @Override
            public void onSuccess(String o) {
                System.out.println("Success response in testApp is: " + o);
            }

            @Override
            public void onFailure(IBMPushException e) {
                System.out.println("Failure response in testApp is: " + e.getMessage());

            }
        });
    }
}

@@ -131,223 +131,8 @@
 e;%0A%0A
-import com.ibm.mobilefirst.clientsdk.android.push.api.IBMPush;%0Aimport com.ibm.mobilefirst.clientsdk.android.push.api.IBMPushException;%0Aimport com.ibm.mobilefirst.clientsdk.android.push.api.IBMPushResponseListener;%0A%0A
 /**%0A
@@ -376,561 +376,8 @@
   %7D%0A
-%0A    public static void main(String%5B%5D args)%7B%0A        IBMPush push = IBMPush.initializeService();%0A%0A        push.register(%22sampleAlias%22, %22sampleConsumerId%22, new IBMPushResponseListener%3CString%3E() %7B%0A%0A            @Override%0A            public void onSuccess(String o) %7B%0A                System.out.println(%22Success response in testApp is: %22 + o);%0A            %7D%0A%0A            @Override%0A            public void onFailure(IBMPushException e) %7B%0A                System.out.println(%22Failure response in testApp is: %22 + e.getMessage());%0A%0A            %7D%0A        %7D);%0A    %7D%0A%7D
+%7D%0A%0A
 %0A

Fix test java file references.