 		[Test]
 		public function commands_are_executed_in_reverse_priority_order():void
 		{
-			const cmd1:Command = new CustomCommand("cmd 1");
-			const cmd2:Command = new CustomCommand("cmd 2");
-			const cmd3:Command = new CustomCommand("cmd 3");
+			const cmd1:Command = new RegistryCommand("cmd 1");
+			const cmd2:Command = new RegistryCommand("cmd 2");
+			const cmd3:Command = new RegistryCommand("cmd 3");
 			
 			facade.addCommand(notification, cmd1, 1);
 			facade.addCommand(notification, cmd2, -1);

		return name;
	}
}

package integration.tests 
{
	import ru.whitered.kote.Mediator;
	import ru.whitered.kote.Command;
	import ru.whitered.kote.Facade;
	import ru.whitered.kote.Notification;
