I am using eclipse for writing JUnit test case for my project. My project contains a bound service based on AIDL. After executing the project i get an autogenerated java file for the AIDL, in the gen folder.
This file contains a Stub class which has methods like
public android.os.IBinder asBinder()
public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException
and a Proxy class which has methods
public android.os.IBinder asBinder()
public java.lang.String getInterfaceDescriptor()
and also some methods created by me . I want to test the above methods using JUint Test . Is it possible to test these methods using ServiceTestCase or can i test this using some other method.