@Test
public void buildWithNavPropertyInSelect() {

  EdmEntitySet entitySet = Mockito.mock(EdmEntitySet.class);
  Mockito.when(entitySet.getName()).thenReturn("ESTwoKeyNav");
  ContextURL contextURL = ContextURL.with().serviceRoot(serviceRoot)
      .entitySet(entitySet)
      .selectList("CollPropertyCompNav/NavPropertyETTwoKeyNavMany")
      .build();
  assertEquals(serviceRoot + "$metadata#ESTwoKeyNav(CollPropertyCompNav/NavPropertyETTwoKeyNavMany)",
      ContextURLBuilder.create(contextURL).toASCIIString());
}