### Question:
LogoutResponse extends WebResponse { @Override public String persist() { return new Gson().toJson(this); } private  LogoutResponse(); static LogoutResponse fromUri(Uri uri); @Override String getState(); @NonNull @Override String getKey(); @Override String persist();  }### Answer:
@Test public void persist() { String json = mResponse.persist(); LogoutResponse logoutResponse = new Gson().fromJson(json, LogoutResponse.class); assertEquals(logoutResponse.getState(), mResponse.getState()); }