diff --git a/java/core/src/test/java/com/google/protobuf/BinaryProtocolTest.java b/java/core/src/test/java/com/google/protobuf/BinaryProtocolTest.java index 2f1b0fc75a0e6..d81cc869d9b92 100644 --- a/java/core/src/test/java/com/google/protobuf/BinaryProtocolTest.java +++ b/java/core/src/test/java/com/google/protobuf/BinaryProtocolTest.java @@ -11,20 +11,12 @@ import com.google.protobuf.testing.Proto2Testing.Proto2Message; import com.google.protobuf.testing.Proto3Testing.Proto3Message; -import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @RunWith(JUnit4.class) public final class BinaryProtocolTest { - @Before - public void setup() { - TestSchemas.registerGenericProto2Schemas(); - - Protobuf.getInstance() - .registerSchemaOverride(Proto3Message.class, TestSchemas.genericProto3Schema); - } @Test public void proto3Roundtrip() throws Exception {