// Check returned query
PreparedQuery sessaoById = ses.getBySisId(1);
assertEquals(1, sessaoById.countEntities(FetchOptions.Builder.withDefaults()));
// Check all properties
Entity sessao = sessaoById.asList(FetchOptions.Builder.withDefaults()).get(0);
assertEquals("1", sessao.getProperty("cliente_id"));
assertEquals(1l, sessao.getProperty("sis_id"));
assertEquals(1l, sessao.getProperty("nav_id"));
assertEquals("20130601", sessao.getProperty("ses_data"));
assertEquals("01:30:00", sessao.getProperty("ses_hora"));