@Test
  public void testToDomainEntity() throws Exception {
    CalendarViewRecurrence.Month month = monthMapper.toUiEntity(AUGUST);

    verify(localizer).localize(AUGUST);
    assertThat(month.localizedLabel(), is(LOCALIZED_MONTH));
    assertThat(month.rawValue(), is(Calendar.AUGUST));
  }
 @Test
 public void testToUiEntity() throws Exception {
   CalendarViewRecurrence.Month uiEntity =
       CalendarViewRecurrence.Month.create(LOCALIZED_MONTH, AUGUST);
   Integer domainEntity = monthMapper.toDomainEntity(uiEntity);
   assertThat(domainEntity, is(AUGUST));
 }