ComponentEventHandler handler = mockComponentEventHandler();
Component component = mockComponent();
replay();
ComponentEvent event = new ComponentEventImpl("eventType", "someId", new String[]
{ "abc" }, handler, _coercer);
event.setSource(component, "foo.Bar.baz()");
try
{
event.coerceContext(0, "java.lang.Integer");
unreachable();
}
catch (IllegalArgumentException ex)
{
// Different JVMs will report the conversion error slightly differently,