Package org.javalite.activejdbc.test_models

Examples of org.javalite.activejdbc.test_models.Computer.parent()


  }
 
  @Test
  public void shouldCheckThatComputerBelongsTo2DifferentParents() {
    Computer computer = Computer.findById(1);
    a(computer.parent(Motherboard.class)).shouldNotBeNull();
    a(computer.parent(Keyboard.class)).shouldNotBeNull();
  }
}
View Full Code Here


 
  @Test
  public void shouldCheckThatComputerBelongsTo2DifferentParents() {
    Computer computer = Computer.findById(1);
    a(computer.parent(Motherboard.class)).shouldNotBeNull();
    a(computer.parent(Keyboard.class)).shouldNotBeNull();
  }
}
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.