}
private String urlForBehavior(Behavior behaviorUnderTest)
{
final int index = page.container.getBehaviorId(behaviorUnderTest);
final IPageAndComponentProvider provider = new PageAndComponentProvider(page,
page.container);
final IRequestHandler handler = new ListenerInterfaceRequestHandler(provider,
IBehaviorListener.INTERFACE, index);
return tester.urlFor(handler).toString();