public IExpressionParser CreateParser(IUnitRegistry unitRegistry)
 {
     var tokenMatcherBuilder = new TokenMatcherBuilder();
     var prefixTokenMatchers = tokenMatcherBuilder.Build(unitRegistry.GetPrefixNotations(), true);
     var unitTokenMatchers = tokenMatcherBuilder.Build(unitRegistry.GetUnitNotations(), false);
     var unitExpressionParser = new UnitExpressionParser(
         unitRegistry,
         new LexicalAnalyzer(new[] { prefixTokenMatchers, unitTokenMatchers }));
     return new ExpressionParser(unitExpressionParser);
 }
 public TokenMatcherBuilderTests()
 {
     this.testee = new TokenMatcherBuilder();
 }