@Test
public void buildWithComplexDerivedTypeInSelect2() {

  EdmEntitySet entitySet = Mockito.mock(EdmEntitySet.class);
  Mockito.when(entitySet.getName()).thenReturn("ESCompCollComp");
  ContextURL contextURL = ContextURL.with().serviceRoot(serviceRoot)
      .entitySet(entitySet)
      .selectList("PropertyComp/CollPropertyComp/olingo.odata.test1.CTBase/AdditionalPropString")
      .build();
  assertEquals(serviceRoot + "$metadata#ESCompCollComp(PropertyComp/CollPropertyComp/"
      + "olingo.odata.test1.CTBase/AdditionalPropString)",
      ContextURLBuilder.create(contextURL).toASCIIString());
}