Esempio n. 1
0
 public void SimpleFuncExportStrategy_GetDecoratorExpression_Throws(
     SimpleFuncExportStrategy <IBasicService> strategy,
     IInjectionScope scope,
     IActivationExpressionRequest request)
 {
     Assert.Throws <NotSupportedException>(() => strategy.GetDecoratorActivationExpression(scope, request, null));
 }
Esempio n. 2
0
 public void SimpleFuncExportStrategy_AddSecondaryStrategy_Throws(
     SimpleFuncExportStrategy <IBasicService> strategy)
 {
     Assert.Throws <NotSupportedException>(() => strategy.AddSecondaryStrategy(null));
 }