Ashutosh Mestry created ATLAS-2146:
--------------------------------------

             Summary: Remove Powermock Usage
                 Key: ATLAS-2146
                 URL: https://issues.apache.org/jira/browse/ATLAS-2146
             Project: Atlas
          Issue Type: Improvement
            Reporter: Ashutosh Mestry
            Assignee: Ashutosh Mestry
            Priority: Minor


*Background*

Some time back _Powermocks_ library was added with the intention of being able 
to test private methods in unit tests. Short coming of this is that does do it 
in a type safe way.

*Solution*
Existing _TestNG_ framework supports _VisibleForTesting_ annotation that allows 
for a type safe way to address this.

Short coming of this is that _VisibleForTesting_ does is supported only for a 
given package.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to