DbEntity entity = context.getEntityResolver().getObjEntity(SoftTest.class).getDbEntity();
List<DbAttribute> idAttributes = Collections.singletonList((DbAttribute) entity.getAttribute("SOFT_TEST_ID"));
DeleteBatchQuery deleteQuery = new DeleteBatchQuery(entity, idAttributes, null, 1);
DeleteBatchQueryBuilder builder = createBuilder();
String generatedSql = builder.createSqlString(deleteQuery);
assertNotNull(generatedSql);
assertEquals("UPDATE " + entity.getName() + " SET DELETED = ? WHERE SOFT_TEST_ID = ?", generatedSql);
}