@Test
public void testHasTag()
{

    OSMElement instance = new OSMWay(1);
    instance.setTag("surface", "something");
    assertTrue(instance.hasTag("surface", "now", "something"));
    assertFalse(instance.hasTag("surface", "now", "not"));
}