Package org.springframework.data.rest.core

Examples of org.springframework.data.rest.core.Path


   */
  @Test
  public void doesNotCreateLinksForHiddenProperty() {

    PersistentProperty<?> property = exposeProperty("hiddenProperty");
    assertThat(links.getLinksFor(property.getAssociation(), new Path("/sample")), hasSize(0));
  }
View Full Code Here


   */
  @Test
  public void doesNotCreateLinksForUnexportedProperty() {

    PersistentProperty<?> property = entity.getPersistentProperty("unexportedProperty");
    assertThat(links.getLinksFor(property.getAssociation(), new Path("/sample")), hasSize(0));
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.rest.core.Path

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.