コード例 #1
0
        /// <exception cref="System.Exception"></exception>
        public virtual void TestGetReplicatorWithAuth()
        {
            IDictionary <string, object> properties = GetPushReplicationParsedJson();
            Replication replicator = manager.GetReplicator(properties);

            NUnit.Framework.Assert.IsNotNull(replicator);
            NUnit.Framework.Assert.IsNotNull(replicator.GetAuthorizer());
            NUnit.Framework.Assert.IsTrue(replicator.GetAuthorizer() is FacebookAuthorizer);
        }