Exemplo n.º 1
0
            public void Returns_Null_For_Interface()
            {
                var myBuilder = new DummyBuilder();

                Assert.IsNull(myBuilder.CreateDouble(typeof(IComparable)));
            }
Exemplo n.º 2
0
            public void Returns_Null_For_String()
            {
                var myBuilder = new DummyBuilder();

                Assert.IsNull(myBuilder.CreateDouble(typeof(string)));
            }
Exemplo n.º 3
0
            public void Returns_Default_Int_For_Int()
            {
                var myBuilder = new DummyBuilder();

                Assert.AreEqual<int>(default(int), (int)myBuilder.CreateDouble(typeof(int)));
            }