public void ImplicitMultiplicationRewriter_TokenStream_Needs_To_Be_In_Infix_Notation()
{
TokenStream stream = new TokenStream(Enumerable.Empty<Token>(), TokenNotation.Postfix);
ImplicitMultiplicationRewriter rewriter = new ImplicitMultiplicationRewriter();
var exception = Assert.Throws<MathExpressionException>(() => rewriter.Rewrite(stream));
Assert.AreEqual("Token stream is not in infix notation.", exception.Message);
}