public void Setup()
 {
     Adk.Initialize();
      TransportPlugin tp = new InMemoryTransportPlugin();
      Adk.InstallTransport(tp);
      fAgent = new TestAgent();
      fAgent.Initialize();
      fAgent.Properties.TransportProtocol=tp.Protocol;
      fZone = (TestZoneImpl)fAgent.ZoneFactory.GetInstance("test", "http://test");
 }
        public void Setup()
        {
            Adk.Initialize();
            TransportPlugin tp = new InMemoryTransportPlugin();

            Adk.InstallTransport(tp);
            fAgent = new TestAgent();
            fAgent.Initialize();
            fAgent.Properties.TransportProtocol = tp.Protocol;
            fZone = (TestZoneImpl)fAgent.ZoneFactory.GetInstance("test", "http://test");
        } //end method Setup
        public virtual void Setup()
        {
            Adk.Initialize(SifVersion.LATEST, SIFVariant.SIF_US, (int)SdoLibraryType.All );
            //uses transportplugin interface , and factory method Createthat
            //returns new instance of class we're looking for
            TransportPlugin tp = new InMemoryTransportPlugin();
            Adk.Install( tp );
            fAgent = new TestAgent();
            fAgent.Initialize();
            fAgent.Properties.TransportProtocol = tp.Protocol;

            //createzone added To ZoneFactoryImpl
            fZone =  (TestZoneImpl)fAgent.ZoneFactory.GetInstance( "test", TEST_URL );
        }