fail("should have failed with UnknownComponentTypeException");
}
catch(UnknownComponentTypeException e){
assertTraceSize(e, 0);
}
yan.unregisterComponentsOfType(int.class);
yan.verify();
yan.registerComponent("target_also", Components.useKey("target"));
try{
yan.verify();
fail("should have failed with UnresolvedComponentException");