### Question:
Sprinkles { public static synchronized Sprinkles init(Context context) { return init(context, "sprinkles.db", 0); } private  Sprinkles(); static synchronized Sprinkles init(Context context); static synchronized Sprinkles init(Context context, String databaseName, int initialDatabaseVersion); @Deprecated static synchronized Sprinkles getInstance(Context context); static synchronized void dropInstances(); void addMigration(Migration migration); void registerType(Class<T> clazz, TypeSerializer<T> serializer);  }### Answer:
@Test public void init() { assertNull(Sprinkles.sInstance); Sprinkles s1 = Sprinkles.init(Robolectric.application); assertNotNull(Sprinkles.sInstance); Sprinkles s2 = Sprinkles.init(Robolectric.application); assertEquals(s1, s2); }