final Container yan = createYanContainer();
yan.registerComponent(
Components.ctor(PersonBean.class, new Class[]{String.class})
.withArgument(0, Components.value(new int[0])));
try{
yan.verify();
fail("should have type failed");
}
catch(ParameterTypeMismatchException e){
assertEquals(2, e.getResolutionTrace().size());
assertParameter(e, 0, Functions.ctor(PersonBean.class, new Class[]{String.class}),