@Test
public void testMerge() {

	// Null map
	Map<Locale, String> map = LocalizedMapUtil.merge(
		null, new AbstractMap.SimpleEntry<>(LocaleUtil.US, "hello"));
	Assert.assertEquals(map.toString(), 1, map.size());
	Assert.assertEquals("hello", map.get(LocaleUtil.US));
	// Null entry
	map = LocalizedMapUtil.merge(
		HashMapBuilder.put(
			LocaleUtil.US, "hello"
		).build(),
		null);
	Assert.assertEquals(map.toString(), 1, map.size());
	Assert.assertEquals("hello", map.get(LocaleUtil.US));
	// Entry hello null
	map = LocalizedMapUtil.merge(
		HashMapBuilder.put(
			LocaleUtil.US, "hello"
		).build(),
		new AbstractMap.SimpleEntry<>(LocaleUtil.US, null));
	Assert.assertEquals(map.toString(), 0, map.size());
	Assert.assertNull(map.get(LocaleUtil.US));
	// Merge map
	map = LocalizedMapUtil.merge(
		HashMapBuilder.put(
			LocaleUtil.US, "hello"
		).build(),
		new AbstractMap.SimpleEntry<>(LocaleUtil.FRANCE, "bonjour"));
	Assert.assertEquals(map.toString(), 2, map.size());
	Assert.assertEquals("bonjour", map.get(LocaleUtil.FRANCE));
	Assert.assertEquals("hello", map.get(LocaleUtil.US));
}