@Test
  public void transform_changed() {
    when(dateTimeProvider.getCurrentDate()).thenReturn(new LocalDate(2013, 02, 25));
    final RpslObject rpslObject =
        RpslObject.parse(
            "inet6num: 2001::/16\n"
                + "changed: [email protected] 20120601\n"
                + "changed: [email protected]\n"
                + "remarks: changed");

    final RpslObject result = attributeSanitizer.sanitize(rpslObject, objectMessages);
    final List<RpslAttribute> changed = result.findAttributes(AttributeType.CHANGED);
    assertThat(changed.get(0).getCleanValue().toString(), is("[email protected] 20120601"));
    assertThat(changed.get(1).getCleanValue().toString(), is("[email protected] 20130225"));
    verifyZeroInteractions(objectMessages);
  }