    @Test
    public void testRetrieve() throws ApiException {

        List<Id> ids = new ArrayList<Id>();
        ids.add(new Id("0035000000km1oh"));
        List<SObject> results = this.conn.retrieve("Contact", ids, Arrays.asList("FirstName", "LastName"));

        assertEquals(1, results.size());
        SObject contact = results.get(0);
        assertEquals("0035000000km1oh", contact.getId().toString());
        assertEquals("Rose", contact.getField("FirstName"));
        assertEquals("Gonzalez", contact.getField("LastName"));
        assertEquals(2, contact.getAllFields().size());

        assertEquals("Contact", contact.getType());
    }