@@ -0,0 +1,516 @@
+package com.stedroids.framework.usecase;%0A%0Aimport android.os.SystemClock;%0A%0A/**%0A * Created by gastonsanguinetti on 31/07/16.%0A */%0Apublic abstract class TestUseCase%3CT%3E extends UseCase%3CT%3E %7B%0A%0A    @Override%0A    protected boolean innerExecute() %7B%0A        SystemClock.sleep(secsToResponse() * 1000);%0A        data = responseReturned();%0A        return isResponseSuccessfully();%0A    %7D%0A%0A    public abstract int secsToResponse();%0A%0A    public abstract T responseReturned();%0A%0A    public abstract boolean isResponseSuccessfully();%0A%7D%0A

test use case for unit testing