public void Test_Wrap2()
 {
     var t = new Resolver(type => null, (type, s) => { throw new InvalidOperationException("Failed"); });
     t.Get<ICommand>("Name");
 }