JRTConfigRequestFactory { public static JRTClientConfigRequest createFromRaw(RawConfig config, long serverTimeout) { return JRTClientConfigRequestV3.createFromRaw(config, serverTimeout, Trace.createNew(), compressionType, getVespaVersion()); }  static JRTClientConfigRequest createFromSub(JRTConfigSubscription<T> sub); static JRTClientConfigRequest createFromRaw(RawConfig config, long serverTimeout); static CompressionType getCompressionType();  }
@Test public void testCreateFromRaw() { Class<FunctionTestConfig> clazz = FunctionTestConfig.class; final String configId = "foo"; RawConfig config = new RawConfig(new ConfigKey<>(clazz, configId), "595f44fec1e92a71d3e9e77456ba80d1"); JRTClientConfigRequest request = JRTConfigRequestFactory.createFromRaw(config, 1000); assertThat(request.getVespaVersion().get(), is(defaultVespaVersion)); }