Ejemplo n.º 1
0
        public void CanConstruct()
        {
            var instance = new DelegateCommandPolicyProvider(this.policyDelegate);

            Assert.NotNull(instance);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DelegateCommandPolicyProviderTests"/> class.
 /// </summary>
 public DelegateCommandPolicyProviderTests()
 {
     this.policyDelegate = () => Policy.TimeoutAsync(3);
     this.testClass      = new DelegateCommandPolicyProvider(this.policyDelegate);
 }