### Question:
ContentDisposition { public Optional<ZonedDateTime> readDate() { return Optional.ofNullable(parameters.get(READ_DATE_PARAMETER)).map(Http.DateTime::parse); } private  ContentDisposition(String type, Map<String, String> params); String type(); Optional<String> name(); Optional<String> filename(); Optional<ZonedDateTime> creationDate(); Optional<ZonedDateTime> modificationDate(); Optional<ZonedDateTime> readDate(); OptionalLong size(); Map<String, String> parameters(); @Override String toString(); static Builder builder();  }### Answer:
@Test public void testReadDate() { ContentDisposition cd = ContentDisposition.parse("attachment; read-date=\"Tue, 3 Jun 2008 11:05:30 GMT\""); assertThat(cd.type(), is(equalTo("attachment"))); assertThat(cd.readDate().isPresent(), is(equalTo(true))); assertThat(cd.readDate().get(), is(equalTo(ZDT))); assertThat(cd.parameters(), is(notNullValue())); assertThat(cd.parameters().size(), is(equalTo(1))); }