### Question:
BoltProtocolV3 extends BoltProtocolV1 { @Override public long version() { return VERSION; } BoltProtocolV3( BoltChannel channel, BoltConnectionFactory connectionFactory, BoltStateMachineFactory stateMachineFactory, LogService logging ); @Override long version(); static final long VERSION; }### Answer:
@Test void shouldVersionReturnBoltV3() throws Throwable { BoltProtocolV3 protocolV3 = new BoltProtocolV3( mock( BoltChannel.class ), ( ch, st ) -> mock( BoltConnection.class ), mock( BoltStateMachineFactory.class ), NullLogService.getInstance() ); assertThat( protocolV3.version(), equalTo( 3L ) ); }