@Test
public void testSetTags()
{

    OSMElement instance = new OSMWay(1);
    Map<String, String> map = new HashMap<String, String>();
    map.put("test", "xy");
    instance.setTags(map);
    assertTrue(instance.hasTag("test", "xy"));
    instance.setTags(null);
    assertFalse(instance.hasTag("test", "xy"));
}