stefanbirkner / system-rules

A collection of JUnit rules for testing code which uses java.lang.System.
http://stefanbirkner.github.io/system-rules
Other
546 stars 71 forks source link

Add ProvideSecurityProvider rule #50

Closed reftel closed 7 years ago

reftel commented 7 years ago

The ProvideSecurityProvider rule provides an arbitrary SecurityProvider to a test. After the test, the security provider is removed.

stefanbirkner commented 7 years ago

Thanks for your work, but this feature is not within the scope of System Rules. It is "A collection of JUnit rules for testing code which uses java.lang.System".