I'm using Android Studio.
My code base is located in app/src/main/java, unit tests in app/src/test/java and instrumented tests in app/src/androidTest/java.  
For a class named Foo I can create a unit test FooTest but as I create an instrumented test FooTest I get a duplicate class error. 
Is there any way I can resolve this, or should I change one of test classes?