예제 #1
0
        public void Init()
        {
            IPagesStorageProviderV30 prov = GetProvider();

            prov.Init(MockHost(), "");

            Assert.IsNotNull(prov.Information, "Information should not be null");
        }
 public void Init_InvalidConnString(string c)
 {
     Assert.Throws <InvalidConfigurationException>(() =>
     {
         IPagesStorageProviderV30 prov = GetProvider();
         prov.Init(MockHost(), c);
     });
 }
예제 #3
0
        public void Init_InvalidConnString(string c)
        {
            IPagesStorageProviderV30 prov = GetProvider( );

            prov.Init(MockHost( ), c);
        }