Attempt to create test case for #281 - test case not failing

This commit is contained in:
rbygrave
2015-04-30 20:30:12 +12:00
parent 0356067d86
commit 4f67d2be4e
4 changed files with 90 additions and 0 deletions
@@ -729,6 +729,9 @@ public class DeployBeanDescriptor<T> {
return null;
}
String selectClause = sb.toString();
if (selectClause.length() == 0) {
throw new IllegalStateException("Bean " + getFullName() + " has no properties?");
}
return selectClause.substring(0, selectClause.length() - 1);
}