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

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

		public function should_get_regexp_for_variable():void
		{
			//			when
			var pattern:RegExp = stepsResolver.getRegExpForVariable( '{identifier}' );
			
			//			then
			assertThat( pattern, notNullValue() );
