points to practise: mockito, powermock jacoco code coverage to solve the problem that jacoco with powermock: https://github.com/powermock/powermock/wiki/Code-coverage-with-JaCoCo to solve instruction exception: wso2/carbon-secvault#8