flat.put("asking_url", askingUrl);
flat.put("asking_name", askingName);
flat.put("question", question);
flat.put("answer", answer);
Gson gson = new GsonBuilder().registerTypeAdapter(Post.class, new PostDeserializer()).create();
post = (AnswerPost) gson.fromJson(flatSerialize(flat), Post.class);
}
@Test
public void getAskingName() {
assertEquals(askingName, post.getAskingName());