Skip to content

Commit

Permalink
Remove unneeded workaround for mockito/mockito#3156 now classes are s…
Browse files Browse the repository at this point in the history
…eparated
  • Loading branch information
ascopes committed Oct 22, 2023
1 parent 58ecc56 commit 942ba02
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@
@ExtendWith(MockitoExtension.class)
class PathProtocResolverTest {

static {
// Call one of the methods to ensure classloading has completed prior to mocking taking place.
// See https://github.com/mockito/mockito/issues/3156.
HostEnvironment.isLinux();
}

@Mock
MockedStatic<HostEnvironment> platformMock;

Expand Down

0 comments on commit 942ba02

Please sign in to comment.