SoyTemplate extends BaseTemplate { @Override public boolean remove(Object key, Object value) { return _soyContextImpl.remove(key, value); } SoyTemplate(
		SoyTemplateResource soyTemplateResource, Map<String, Object> context,
		SoyTemplateContextHelper templateContextHelper,
		SoyTofuCacheHandler soyTofuCacheHandler,
		SoyTemplateResourceFactory soyTemplateResourceFactory,
		boolean restricted); @Override Object compute(
		String key,
		BiFunction<? super String, ? super Object, ?> remappingBiFunction); @Override Object computeIfAbsent(
		String key, Function<? super String, ?> mappingFunction); @Override Object computeIfPresent(
		String key,
		BiFunction<? super String, ? super Object, ?> remappingBiFunction); @Override void forEach(BiConsumer<? super String, ? super Object> action); @Override Object getOrDefault(Object key, Object defaultValue); @Override Object merge(
		String key, Object value,
		BiFunction<? super Object, ? super Object, ?> remappingBiFunction); @Override void prepare(HttpServletRequest httpServletRequest); @Override Object putIfAbsent(String key, Object value); @Override boolean remove(Object key, Object value); @Override Object replace(String key, Object value); @Override boolean replace(String key, Object oldValue, Object newValue); @Override void replaceAll(
		BiFunction<? super String, ? super Object, ?> function);  }
@Test public void testRemove() { SoyTemplate soyTemplate = _soyTestHelper.getSoyTemplate("ijdata.soy"); soyTemplate.put("key1", "value1"); soyTemplate.put("key2", "value2"); soyTemplate.remove("key2"); Assert.assertTrue(soyTemplate.containsKey("key1")); Assert.assertEquals("value1", soyTemplate.get("key1")); Assert.assertFalse(soyTemplate.containsKey("key2")); }