So, the plan is to support add, subtract, multiply and divide operations. As explained in the kata presentation, in RPN the operator is located at the end of the expression.
Let's add one of each of the supported operations to our tests:
@Testpublic void addOperationReturnsCorrectValue() { assertThat(reversePolishNotation.compute("1 2 +")).isEqualTo(3);}@Testpublic void subtractOperationReturnsCorrectValue() { assertThat(reversePolishNotation.compute("2 1 -")).isEqualTo(1);}@Testpublic void multiplyOperationReturnsCorrectValue() { assertThat(reversePolishNotation.compute("2 ...