Example #1
0
        public void Test_NotNot_Properties()
        {
            var tested = new FizBar()
            {
                Bar = "Bar", Fiz = String.Empty
            };
            var expected = new { Bar = "Bar", Fiz = String.Empty };

            tested.Expect().Not().Not().Properties().Eq(expected);
        }
Example #2
0
        public void Test_Not_PropertiesWithout()
        {
            var tested = new FizBar()
            {
                Bar = "Bar", Fiz = "Fiz"
            };
            var expected = new { Bar = "Bar2", Fiz = "Fiz2" };

            tested.Expect().Not().PropertiesWithout(x => x.Fiz).Eq(expected);
        }
Example #3
0
 public void Test_Not_RaiseError()
 {
     (new Action(() => FizBar.SampleMethod())).Expect().Not().RaiseError();
 }