TargetDataInstance extends CObject { public CObjectCollection<OutputDevice> getOutputDevices() { return outputDevices; } 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 getOutputDevices_None_SizeShouldBe1() { assert (tdi.getOutputDevices().size() == 1); }