public void testPrivateField() throws Throwable
{
PrivateFieldTestBean test = assertBean("Allowed", PrivateFieldTestBean.class);
assertEquals("private", test.getPrivateStringNotGetter());
KernelDeployment deployment = deploy("FieldAccessControlTestCase_NotAutomatic.xml");
try
{
ControllerContext context = getControllerContext("NotAllowed", null);
assertEquals(ControllerState.ERROR, context.getState());
checkDeepThrowable(AccessControlException.class, context.getError());