    @Test
    public void fromJson_shouldSucceed() {

        String json = fileLoader.getContent("jsons/conversation.json");

        JSONApiObject<Conversation> result = subject.fromJson(json);

        assertFalse(result.hasErrors());

        Conversation conversation = result.getData().get(0);
        assertEquals("4214653", conversation.getId());
        assertEquals("content", conversation.getMessage());
        assertEquals(new Date(1466014572000L), conversation.getDate());

        Person person = conversation.getPerson();
        assertEquals("451", person.getId());
        assertEquals("Gustavo Fão Valvassori", person.getName());

        Links links = result.getLinks();
        assertEquals("http://example.com/articles?page[number]=3&page[size]=1", links.getSelf());
        assertEquals("http://example.com/articles?page[number]=1&page[size]=1", links.getFirst());
        assertEquals("http://example.com/articles?page[number]=2&page[size]=1", links.getPrev());
        assertEquals("http://example.com/articles?page[number]=4&page[size]=1", links.getNext());
        assertEquals("http://example.com/articles?page[number]=13&page[size]=1", links.getLast());
    }