assertNotNull("And it should have an id",expData.getId());
assertTrue("And it should have an id",expData.getId()>-1);
    public void testGetSomethingThatsAlwaysThere() throws Exception    {        List l = q.getListByExample(new Experimenter());        assertTrue("Root has to exist.",l.size()>0);                // Now let's try to map it.        ExperimenterData expData =             (ExperimenterData) mapper.map((Experimenter)l.get(0));        assertNotNull("And something should still be there",expData);        assertNotNull("And it should have an id",expData.getId());        assertNotNull("And various other things",expData.getFirstName());    }