### Question:
Day { public String getShortNameWithoutDots() { return shortName.replace(".", ""); } @JsonCreator  Day(@JsonProperty("shortName") String shortName, @JsonProperty("timeslots") List<Timeslot> timeslots); String getShortName(); List<Timeslot> getTimeslots(); String getShortNameWithoutDots(); @Override String toString();  }### Answer:
@Test public void testGetShortNameWithoutDots() throws Exception { Day day = new Day("20.08.2014", new ArrayList<Timeslot>()); Assert.assertEquals("20082014", day.getShortNameWithoutDots()); }