@Test
public void testCreateInstance() {
SimpleEntityHomeWithMessageStubs home = new SimpleEntityHomeWithMessageStubs();
// emulate @Create method
home.create();
SimpleEntity entity = home.getInstance();
assert entity != null : "Excepting a non-null instance";
assert entity.getClass().equals(SimpleEntity.class) : "Expecting entity class to be " + SimpleEntity.class + " but got " + entity.getClass();
}