Exemplo n.º 1
0
 public void FuncTwoArg_GetWrappedType_NonGeneric(FuncTwoArgWrapperStrategy strategy)
 {
     Assert.Equal(null, strategy.GetWrappedType(typeof(BasicService)));
 }
Exemplo n.º 2
0
 public void FuncTwoArg_GetWrappedType(FuncTwoArgWrapperStrategy strategy)
 {
     Assert.Equal(typeof(IBasicService),
                  strategy.GetWrappedType(typeof(Func <int, int, IBasicService>)));
 }