RubyRuntimeMetaData metaData = new RubyRuntimeMetaData();
metaData.setVersion( RubyRuntimeMetaData.Version.V1_9 );
unit.putAttachment( RubyRuntimeMetaData.ATTACHMENT_KEY, metaData );
RubyAppMetaData rubyAppMetaData = new RubyAppMetaData( "foo");
rubyAppMetaData.attachTo( unit );
deploy( phaseContext );
ServiceName factoryServiceName = CoreServices.runtimeFactoryName( unit );
MockServiceBuilder<?> factoryBuilder = phaseContext.getMockServiceTarget().getMockServiceBuilder( factoryServiceName );