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

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