package com.pivotallabs;
import android.app.Activity;
import com.pivotallabs.api.TestApiGateway;
import com.pivotallabs.tracker.AuthenticationGateway;
public class TestHelper {
public static void signIn() throws Exception {
TestApiGateway apiGateway = new TestApiGateway();
new AuthenticationGateway(apiGateway, new Activity())
.signIn("spongebob", "squarepants", new Callbacks());
apiGateway.simulateResponse(200, TestResponses.AUTH_SUCCESS);
}
}