コード例 #1
0
		public void TestWithTry ()
		{
			var sut = new TransactionsExample ();
			sut.WithTry ();

			Assert.IsTrue (sut.IsHit);
		}
コード例 #2
0
		public void TestWithUsing ()
		{
			var sut = new TransactionsExample ();
			sut.WithUsing ();

			Assert.IsFalse (sut.IsHit);
		}
コード例 #3
0
        public void TestWithTry()
        {
            var sut = new TransactionsExample();

            sut.WithTry();

            Assert.IsTrue(sut.IsHit);
        }
コード例 #4
0
        public void TestWithUsing()
        {
            var sut = new TransactionsExample();

            sut.WithUsing();

            Assert.IsFalse(sut.IsHit);
        }