public static QueryBuilder nativeQuery(final String nativeQuery) {
        return new QueryBuilder() {
            protected Query makeQueryObject(EntityManager entityManager) {
                return entityManager.createNativeQuery(nativeQuery);
            }

            @Override
            public String toString() {
                return "NativeQuery: " + nativeQuery + getParameterDescription();
            }
        };
    }
@Test
    public void testNativeQueryBuilder() {
        QueryBuilder q = QueryBuilder.nativeQuery("select count(*) from SendEmail");
        assertNotNull(q);
        assertEquals("NativeQuery: select count(*) from SendEmail", q.toString());
    }