@Test(expected = ResourceInitException.class)
public void testGetBeanNameMissing() {

    final AbstractSpringResourceBuilder<ContentBean> builder = new AbstractSpringResourceBuilder<ContentBean>(
                                                                                                               workspace,
                                                                                                               "test" ) {
        @Override
        public ContentBean build() {
            return getBean( ContentBean.class );
        }
    };
    builder.build();
}