The class is now fully tested (should now achieve 100% branch coverage)
In order to be able to easily unit test Tile class, I decided to mock the PImage dependency. For this, I had to add the mockito dependency in 'pom.xml' file (used the lates version of Mockito)
162
Added unit tests for Tile class
The class is now fully tested (should now achieve 100% branch coverage) In order to be able to easily unit test Tile class, I decided to mock the PImage dependency. For this, I had to add the mockito dependency in 'pom.xml' file (used the lates version of Mockito)