 		callback(event);
 	}
 }
+
+class CommandMappingCommand
+{
+
+	/*============================================================================*/
+	/* Public Properties                                                          */
+	/*============================================================================*/
+
+	[Inject]
+	public var event:Event;
+
+	[Inject(name="nestedCommand")]
+	public var commandClass:Class;
+
+	[Inject]
+	public var eventCommandMap:IEventCommandMap;
+
+	/*============================================================================*/
+	/* Public Functions                                                           */
+	/*============================================================================*/
+
+	public function execute():void
+	{
+		eventCommandMap.map(event.type, Event).toCommand(commandClass);
+	}
+}
+
+class CommandUnmappingCommand
+{
+
+	/*============================================================================*/
+	/* Public Properties                                                          */
+	/*============================================================================*/
+
+	[Inject]
+	public var event:Event;
+
+	[Inject(name="nestedCommand")]
+	public var commandClass:Class;
+
+	[Inject]
+	public var eventCommandMap:IEventCommandMap;
+
+	/*============================================================================*/
+	/* Public Functions                                                           */
+	/*============================================================================*/
+
+	public function execute():void
+	{
+		eventCommandMap.unmap(event.type, Event).fromCommand(commandClass);
+	}
+}

		[Test]
		public function specified_untyped_event_is_injected_into_command_as_untyped_event():void
		{
			const eventType : String = 'eventType';
			var injectedEvent:Event = null;
			injector.map(Function, 'executeCallback').toValue(function(command:SupportEventTriggeredSelfReportingCallbackCommand):void
			{

	import flash.events.Event;
	import flash.events.EventDispatcher;
	import flash.events.IEventDispatcher;
	import org.hamcrest.assertThat;
	import org.hamcrest.collection.array;
	import org.hamcrest.core.not;
	import org.hamcrest.object.equalTo;
	import org.hamcrest.object.instanceOf;
	import org.swiftsuspenders.Injector;
	import robotlegs.bender.extensions.commandCenter.dsl.ICommandMapper;
	import robotlegs.bender.extensions.commandCenter.dsl.ICommandUnmapper;
	import robotlegs.bender.extensions.commandCenter.support.CallbackCommand;
