### Question:
CipherStorageFactory { public static CipherStorage newInstance(Context context, Storage storage) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { return new CipherStorageAndroidKeystore(context, storage); } return new CipherStorageSharedPreferencesKeystore(context, storage); } private  CipherStorageFactory(); static CipherStorage newInstance(Context context, Storage storage); static CipherStorage newInstance(Context context);  }### Answer:
@Test public void returnCorrectImplementation() { assertThat(CipherStorageFactory.newInstance(null)) .isSameAs(InMemoryCipherStorage.INSTANCE); }