Exemplo n.º 1
0
        public void DoubleParameterGetWithNullFunctionThrows()
        {
            var builder = new DelegatingSpecimenBuilder();

            Assert.Throws <ArgumentNullException>(() =>
                                                  builder.Get <float, float, short>(null));
        }
Exemplo n.º 2
0
        public void QuadrupleParameterGetWithNullFunctionThrows()
        {
            var builder = new DelegatingSpecimenBuilder();

            Assert.Throws <ArgumentNullException>(() =>
                                                  builder.Get <object, object, short, Type, Version>(null));
        }
Exemplo n.º 3
0
        public void TripleParameterGetWithNullFunctionThrows()
        {
            var builder = new DelegatingSpecimenBuilder();

            Assert.Throws <ArgumentNullException>(() =>
                                                  builder.Get <float, Type, Version, string>(null));
        }
Exemplo n.º 4
0
 public void DoubleParameterGetWithNullFunctionThrows()
 {
     var builder = new DelegatingSpecimenBuilder();
     Assert.Throws<ArgumentNullException>(() =>
         builder.Get<float, float, short>(null));
 }
Exemplo n.º 5
0
 public void QuadrupleParameterGetWithNullFunctionThrows()
 {
     var builder = new DelegatingSpecimenBuilder();
     Assert.Throws<ArgumentNullException>(() =>
         builder.Get<object, object, short, Type, Version>(null));
 }
Exemplo n.º 6
0
 public void TripleParameterGetWithNullFunctionThrows()
 {
     var builder = new DelegatingSpecimenBuilder();
     Assert.Throws<ArgumentNullException>(() =>
         builder.Get<float, Type, Version, string>(null));
 }