@Test
public void shouldReturnImmutableCollectionAsListIfCreatedFromList() {

    // given
    DescribedCollection<String> collection = new DescribedCollection<String>(RepositoryName.from("repository"), Arrays.asList("1"));
    // when
    List<String> collectionItems = collection.itemsList();
    catchException(collectionItems).add("2");
    // then
    assertThat(caughtException()).isInstanceOf(UnsupportedOperationException.class);
}