222324252627282930
} @Test public void shouldCheckThatComputerBelongsTo2DifferentParents() { Computer computer = Computer.findById(1); a(computer.parent(Motherboard.class)).shouldNotBeNull(); a(computer.parent(Keyboard.class)).shouldNotBeNull(); } }
2324252627282930
@Test public void shouldCheckThatComputerBelongsTo2DifferentParents() { Computer computer = Computer.findById(1); a(computer.parent(Motherboard.class)).shouldNotBeNull(); a(computer.parent(Keyboard.class)).shouldNotBeNull(); } }