assertNull(retrievedBean.getId());
Validation.FormInput fa = new Validation.FormInput("f", "i");
Validation.FormInput fb = new Validation.FormInput("f2", "i2");
Validation connector = retrievedBean.getConnectorValidation();
assertEquals(Status.FINE, connector.getStatus());
assertEquals(2, connector.getMessages().size());
assertTrue(connector.getMessages().containsKey(fa));
assertEquals(new Validation.Message(Status.FINE, "d"),
connector.getMessages().get(fa));
Validation framework = retrievedBean.getFrameworkValidation();
assertEquals(Status.UNACCEPTABLE, framework.getStatus());
assertEquals(2, framework.getMessages().size());
assertTrue(framework.getMessages().containsKey(fb));
assertEquals(new Validation.Message(Status.UNACCEPTABLE, "c"),
framework.getMessages().get(fb));
}