### Question:
OktaState { public ProviderConfiguration getProviderConfiguration() throws EncryptionException { return mOktaRepo.get(ProviderConfiguration.RESTORE); } OktaState(OktaRepository mOktaRepository); TokenResponse getTokenResponse(); boolean hasTokenResponse(); ProviderConfiguration getProviderConfiguration(); WebRequest getAuthorizeRequest(); void setCurrentState(State state); State getCurrentState(); void save(Persistable persistable); void delete(Persistable persistable); void delete(String key); void setEncryptionManager(EncryptionManager encryptionManager);  }### Answer:
@Test public void getProviderConfiguration() throws OktaRepository.EncryptionException { ProviderConfiguration providerConfiguration = TestValues.getProviderConfiguration(CUSTOM_URL); mOktaState.save(providerConfiguration); ProviderConfiguration expected = mOktaState.getProviderConfiguration(); assertNotNull(expected); assertEquals(providerConfiguration.persist(), expected.persist()); }