diff --git a/src/test/java/io/github/ascopes/protobufmavenplugin/resolver/PathProtocResolverTest.java b/src/test/java/io/github/ascopes/protobufmavenplugin/resolver/PathProtocResolverTest.java index 090947b4..bc3dc795 100644 --- a/src/test/java/io/github/ascopes/protobufmavenplugin/resolver/PathProtocResolverTest.java +++ b/src/test/java/io/github/ascopes/protobufmavenplugin/resolver/PathProtocResolverTest.java @@ -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 platformMock;