assertNull( "FormModel is not included", factory.getInterceptor( excluded ) );
}
public void testSetExcludedFormModelIds() throws Exception {
TestableConfigurableFormComponentInterceptorFactory factory = new TestableConfigurableFormComponentInterceptorFactory();
factory.setCreateThis( new TestableFormComponentInterceptor() );
factory.setExcludedFormModelIds( new String[] { "excluded-0", "excluded-1" } );
factory.afterPropertiesSet();
assertTrue( Arrays.equals( new String[] { "excluded-0", "excluded-1" }, factory.getExcludedFormModelIds() ) );