Package org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration

Examples of org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration.ProjectionDefinitionKey


   * @see DATAREST-221
   */
  @Test
  public void definitionKeyEquals() {

    ProjectionDefinitionKey objectNameKey = new ProjectionDefinitionKey(Object.class, "name");
    ProjectionDefinitionKey sameObjectNameKey = new ProjectionDefinitionKey(Object.class, "name");
    ProjectionDefinitionKey stringNameKey = new ProjectionDefinitionKey(String.class, "name");
    ProjectionDefinitionKey objectOtherNameKey = new ProjectionDefinitionKey(Object.class, "otherName");

    assertThat(objectNameKey, is(objectNameKey));
    assertThat(objectNameKey, is(sameObjectNameKey));
    assertThat(sameObjectNameKey, is(objectNameKey));

View Full Code Here

TOP

Related Classes of org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration.ProjectionDefinitionKey

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.