@Test
public void checkBuilder() {

    SampleDAO sampleDAO = DAOBuilder.buildDAO(Sample.class,
                                              SampleDAO.class,
                                              PartialSampleDAOImplementation.class,
                                              null);
    // TODO: reflect on sampleDAO for concrete implementations of methods found in SampleDAO
    // TODO: can check sampleDAO's real class type
    List<Sample> t = sampleDAO.getMany(0);
    Assert.assertTrue(t.size() > 1);
    sampleDAO.findByFieldOne(0);
    sampleDAO.findByFieldOneGreaterThan(1);
}