TargetDataInstance extends CObject { public CObjectCollection<Part> getParts() { return parts; } TargetDataInstance(final TargetData td); @Override boolean isValid(); AssignableDevice getAssignableDeviceByName(final String name); LogicConstraints getLogicConstraints(); CObjectCollection<Part> getParts(); CObjectCollection<Gate> getGates(); CObjectCollection<InputSensor> getInputSensors(); CObjectCollection<OutputDevice> getOutputDevices(); CObjectCollection<GeneticLocation> getGeneticLocations();  }
@Test public void getParts_None_SizeShouldBe40() { assert (tdi.getParts().size() == 40); }