### Question:
ExpressionTokenizer { public int getPosition() { return position; } ExpressionTokenizer(String expression); ExpressionTokenType next(); String getToken(); int getPosition(); void setPosition(int position, boolean binaryOpAvailable);  }### Answer:
@Test public void testGetPosition() { ExpressionTokenizer tokenizer = new ExpressionTokenizer("aaa bbb ccc"); assertEquals(0, tokenizer.getPosition()); assertEquals(VARIABLE, tokenizer.next()); assertEquals("aaa", tokenizer.getToken()); assertEquals(3, tokenizer.getPosition()); assertEquals(WHITESPACE, tokenizer.next()); assertEquals(" ", tokenizer.getToken()); assertEquals(4, tokenizer.getPosition()); assertEquals(VARIABLE, tokenizer.next()); assertEquals("bbb", tokenizer.getToken()); assertEquals(7, tokenizer.getPosition()); assertEquals(WHITESPACE, tokenizer.next()); assertEquals(" ", tokenizer.getToken()); assertEquals(8, tokenizer.getPosition()); assertEquals(VARIABLE, tokenizer.next()); assertEquals("ccc", tokenizer.getToken()); assertEquals(11, tokenizer.getPosition()); }