Skip to content

Instantly share code, notes, and snippets.

@destroytoday
Created March 29, 2010 13:48
Show Gist options
  • Save destroytoday/347842 to your computer and use it in GitHub Desktop.
Save destroytoday/347842 to your computer and use it in GitHub Desktop.
package com.destroytoday.destroytwitter.signals
{
public class ApplicationSignalBusTest
{
protected var signalBus:ApplicationSignalBus;
public function ApplicationSignalBusTest()
{
}
[Before]
public function setUp():void
{
signalBus = new ApplicationSignalBus();
}
[After]
public function tearDown():void
{
signalBus = null;
}
[Test]
public function testArguments():void
{
signalBus.accountLoggedIn.dispatch(new AccountModule());
signalBus.drawerStateChanged.dispatch(null, DrawerState.COMPOSE);
signalBus.hotkeyCopySelected.dispatch();
signalBus.urlShortened.dispatch("http://bit.ly/3HPUon");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment