@Test
public void testInteractions() throws JSONException {

    EnumSet expected = EnumSet.of(DerpibooruImageInteraction.InteractionType.Fave,
                                  DerpibooruImageInteraction.InteractionType.Upvote);
    ImageInteractionsParserObject interactionsHelper = new ImageInteractionsParserObject(
            loggedIn.getInteractions().toString());
    assertThat(interactionsHelper.getImageInteractionsForImage(10005), is(expected));
    assertNotNull(loggedOut.getInteractions());
}