public function createDefaultMessage( $test, $vars )
	{
		$substitutions = array();

		// Look for variables in the test
		foreach ( $vars as $name => $var )
		{
			if ( strpos( $test, "\$$name") === false ) continue;

			$substitutions[ $name ]	= Resource::valueToString( $var );
		}

		foreach ( $substitutions as $name => $substitution )
		{
			$test = preg_replace('/\b' . $name . '\b/', "$name $substitution", $test);
			// $test = str_replace( $name, $name . " " . $substitution, $test );
		}

		return $test;
	}