InvalidServiceContractException {
RubyScript rs = new RubyScript("javaInterfaceTest",
"$SCA = { 'javaInterface' => 'helloworld.HelloWorldService'}",
null,
getClass().getClassLoader());
RubySCAConfig scaConfig = new RubySCAConfig(rs.getRubyEngine().getGlobalVariables());
RubyIntrospector introspector = new RubyIntrospector(null,
new JavaInterfaceProcessorRegistryImpl());
ComponentType comonentType = introspector.introspectScript(scaConfig,
rs.getClassLoader());
assertNotNull(comonentType);