ShaderOptions implements CoreShaderOptions { void _initWith(@NonNull CoreShaderOptions that) { args.clear(); args.addAll(that.getGlslcArgs()); scopedArgs.clear(); scopedArgs.putAll(that.getScopedGlslcArgs()); }  @Override List<String> getGlslcArgs(); @Override ListMultimap<String, String> getScopedGlslcArgs(); void glslcArgs(String... options); void glslcScopedArgs(String key, String... options);  }
@Test public void testInitWith() throws Exception { CopyOfTester.assertAllGettersCalled( CoreShaderOptions.class, new ShaderOptions(), original -> new ShaderOptions()._initWith(original)); }