Skip to content

Instantly share code, notes, and snippets.

@thiagoolsilva
Created May 19, 2016 04:33
Show Gist options
  • Save thiagoolsilva/463260537ddc271b72191aafdacbefb6 to your computer and use it in GitHub Desktop.
Save thiagoolsilva/463260537ddc271b72191aafdacbefb6 to your computer and use it in GitHub Desktop.
public class DatabaseControllerTest extends AndroidTestCase{
private DatabaseController databaseController;
@Override
protected void setUp() throws Exception {
super.setUp();
final String prefixContext = "test_";
RenamingDelegatingContext mockContext = new RenamingDelegatingContext(getContext(),prefixContext);
databaseController = new DatabaseController(mockContext);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment