 		
 			namespaceVariables = strict( INamespaceVariables );
 			mock( namespaceVariables ).getter( 'variablePattern' ).returns( /{(\w+)}/g );
+			mock( namespaceVariables ).getter( 'patterns' ).returns( {identifier: PATTERN} );
 			
 			stepsResolver = new StepsResolver();
 			stepsResolver.namespaceVariables = namespaceVariables;

		
		private const SOURCE_PATTERN:RegExp = /press {identifier} button/;
		private const EXPECTED_PATTERN:RegExp = /press (\w+) button/;
		private const PATTERN:RegExp = /\w/;
		
		[Before]
		public function setUp():void

	import flash.events.Event;
	
	import mockolate.mock;
	import mockolate.nice;
	import mockolate.prepare;
	import mockolate.strict;
	
