コード例 #1
0
 public void It_should_not_attempt_to_connect_to_leankit()
 {
     MockLeanKitClientFactory.Verify(x => x.Create(It.IsAny <LeanKitAccountAuth>()), Times.Never());
 }
コード例 #2
0
        public void It_should_use_configured_credentials_for_leankit()
        {
            var likeness = TestAuth.AsSource().OfLikeness <LeanKitAccountAuth>();

            MockLeanKitClientFactory.Verify(x => x.Create(It.Is <LeanKitAccountAuth>(auth => likeness.Equals(auth))));
        }