public void test() {
EbeanServer server = Ebean.getServer(null);
// check that we can construc a bean with a protected constructor
MProtectedConstructBean bean = server.createEntityBean(MProtectedConstructBean.class);
Assert.assertNotNull(bean);
// Note1 that the enhancement ClassAdapterEntity line 239 makes a default constructor publically accessible
// Note2 the ClassAdpater will call DefaultConstructor.add() to add a default constructor if it doesn't exist