### Question:
AbstractDigitalOutput extends AbstractPinFeature implements DigitalOutput { public String getName() { return String.format(NAME_FORMAT, signal, getPin().getName()); } AbstractDigitalOutput(Pin pin); String getName(); void write(Signal signal); void applySignal(Signal signal); void high(); void low(); boolean isHigh(); boolean isLow(); void toggle(); Signal getAppliedSignal(); void startBlinking(int periodMilliseconds); void startBlinking(int periodMilliseconds, int durationMilliseconds); void stopBlinking(); void blinkTimes(int periodMilliseconds, int times); boolean isBlinking(); void awaitBlinkingStopped();  }### Answer:
@Test public void testName() { DigitalOutput output = pin.as(DigitalOutput.class); String name = output.getName(); TestCase.assertNotNull(name); }