1) Use an Expectation with a very specific matcher:
expect(authorizationSignal.dispatch(arg(allOf(instanceOf(UserInfo), hasProperties({ username: "test username", password: "test password" })))).once();
2) Use a Spy
var authSpy:Spy = spy(authorizationSignal.dispatch(arg(anything()));
// trigger mouse-event / onLogin() then check the spy
assertTrue("dispatch was called", authSpy.calledOnce());
assertTrue("dispatched UserInfo", authSpy.calledWith(instanceOf(UserInfo)));
assertTrue("dispatched with username & password",
authSpy.calledWith(hasProperties({ username: "test username": password: "test password" })));
HTH,
Drew