Examples of LegacyEntity


Examples of org.springframework.test.util.subpackage.LegacyEntity

   * Verifies behavior requested in <a href="https://jira.spring.io/browse/SPR-9571">SPR-9571</a>.
   */
  @Test
  public void setFieldOnLegacyEntityWithSideEffectsInToString() {
    String testCollaborator = "test collaborator";
    LegacyEntity entity = new LegacyEntity();
    setField(entity, "collaborator", testCollaborator, Object.class);
    assertTrue(entity.toString().contains(testCollaborator));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.