### Question:
DatePingDataProvider implements PingDataProvider { @Override public Map<String, Object> provideMapping() { Map<String, Object> propertiesMap = new HashMap<>(); propertiesMap.put(PROPERTY_FIRST_PING_DATE, Collections.singletonMap(PROPERTY_TYPE, "date")); propertiesMap.put(PROPERTY_SINCE_DAYS, Collections.singletonMap(PROPERTY_TYPE, "long")); return propertiesMap; }  @Override Map<String, Object> provideMapping(); @Override Map<String, Object> provideData();  }### Answer:
@Test public void provideMapping() { Map<String, Object> mapping = provider.provideMapping(); assertEquals(2, mapping.size()); Map<String, Object> propertiesMapping = (Map<String, Object>) mapping.get("sinceDays"); assertEquals(1, propertiesMapping.size()); assertEquals("long", propertiesMapping.get("type")); propertiesMapping = (Map<String, Object>) mapping.get("firstPingDate"); assertEquals(1, propertiesMapping.size()); assertEquals("date", propertiesMapping.get("type")); }