/** test that question ID is correctly parsed */ @Test public void testProperID() throws JSONException { QuizQuestion q = QuizQuestion.parseFromJSON(new JSONObject(PROPER_JSON)); assertEquals("Question ID does not match", EXPECTED_QUESTION_ID, q.getID()); }