train_getMessages(resources, messages);
stub_contains(messages, false);
replay();
BeanModel model = _source.create(ReadOnlyBean.class, true, resources);
assertEquals(model.getPropertyNames(), Arrays.asList("value"));
model = _source.create(ReadOnlyBean.class, false, resources);
assertEquals(model.getPropertyNames(), Arrays.asList("value", "readOnly"));
verify();
}