when( runtimeCfg.pathElement() ).thenReturn( "MyLibrary.swc" );
when( runtimeCfg.rslUrl() ).thenReturn( urls );
when( cfg.getFramesConfiguration() ).thenReturn( frameCfg );
when( frameCfg.getFrame() ).thenReturn( new IFrame[] { frame } );
when( frame.label() ).thenReturn( "my-frame" );
when( frame.classname() ).thenReturn( new String[] { "org.package.1", "org.package.2" } );
when( compilerCfg.getNamespacesConfiguration() ).thenReturn( namespacesCfg );
when( namespacesCfg.getNamespace() ).thenReturn( new INamespace[] { namespace, namespace2 } );
when( namespace.uri() ).thenReturn( "http://www.adobe.com/2006/mxml" );
when( namespace.manifest() ).thenReturn( "mx-manifest.xml" );
when( namespace2.uri() ).thenReturn( "library://ns.adobe.com/flex/spark" );