Using Expected Exceptions in UnitTests
Sometimes, reviewing code, I see misunderstanding of using Expected Exception concept in unit tests.
Sometimes, reviewing code, I see misunderstanding of using Expected Exception concept in unit tests.
Since it may be references to existing javascript array from other objects, the best way to clear array contents is assign its length to zero
Here are few steps to configure protobuf-to-java compilation in your maven project:
Install google protobuf compiler on your computer.
brew install protobuf
Configure maven protobuf compiler plugin and protobuf-java dependency in pom.xml