In Java Apache Beam , does the @ProcessElement
method required to be void? Or can it return an int, string or class?
We are doing unit tests, and want to validate the output of methods. I know there are mockito and spy functions. However, prefer to use simple input and output methods. Just wondering if there are negative consequences of not using void
?