public void GetStream_SdkPathNotExist_Test()
        {
            var sdkStreamManager = new SdkStreamManager("/NotExist/");
            var assemblyName     = new AssemblyName("AElf.Runtime.CSharp.Core");

            using (var stream = sdkStreamManager.GetStream(assemblyName))
            {
                CheckGetStreamResult(stream);
            }

            // Get stream from cache
            using (var stream = sdkStreamManager.GetStream(assemblyName))
            {
                CheckGetStreamResult(stream);
            }
        }
        public void GetStream_SdkPathExist_Test()
        {
            var sdkDir           = Path.GetDirectoryName(typeof(SdkStreamManager).Assembly.Location);
            var sdkStreamManager = new SdkStreamManager(sdkDir);
            var assemblyName     = new AssemblyName("AElf.Runtime.CSharp.Core");

            using (var stream = sdkStreamManager.GetStream(assemblyName))
            {
                CheckGetStreamResult(stream);
            }

            // Get stream from cache
            using (var stream = sdkStreamManager.GetStream(assemblyName))
            {
                CheckGetStreamResult(stream);
            }
        }