Created
July 30, 2019 15:42
-
-
Save marchermans/3a7f9be205f1a3acb22464ba3bdd520f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void removeProvider() throws Exception | |
{ | |
mockStatic(ProviderHandler.class); | |
PowerMockito.doCallRealMethod().when(ProviderHandler.class, "removeProvider", Mockito.any(), Mockito.any()); | |
ProviderHandler.removeProvider(requestManager, new StandardToken()); | |
PowerMockito.verifyStatic(); | |
ProviderHandler.removeProviderInternal(requestManager, new StandardToken()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment