RuleDatabase { public static RuleDatabase getInstance() { return instance; } RuleDatabase(); static RuleDatabase getInstance(); boolean isBlocked(String host); synchronized void initialize(Context context);  }
@Test public void testGetInstance() throws Exception { RuleDatabase instance = RuleDatabase.getInstance(); assertNotNull(instance); assertTrue(instance.isEmpty()); assertFalse(instance.isBlocked("example.com")); }