    @Test
    public void testGetBeanDefinition() throws Exception {

        File tempFile = createTempContextFile("citrus-context-find");

        SchemaModel schema = springBeanConfigService.getBeanDefinition(tempFile, project, "helloSchema", SchemaModel.class);

        Assert.assertEquals(schema.getId(), "helloSchema");
        Assert.assertEquals(schema.getLocation(), "classpath:com/consol/citrus/demo/sayHello.xsd");

        schema = springBeanConfigService.getBeanDefinition(tempFile, project, "helloSchemaExtended", SchemaModel.class);

        Assert.assertEquals(schema.getId(), "helloSchemaExtended");
        Assert.assertEquals(schema.getLocation(), "classpath:com/consol/citrus/demo/sayHelloExtended.xsd");
    }