### Question:
AbstractAnalogInput extends AbstractPinFeature implements AnalogInput { public String getName() { return String.format(NAME_FORMAT, getPin().getName()); } AbstractAnalogInput(Pin pin); String getName(); void startMonitor(int periodMicroSeconds, final ThresholdListener listener); void stopMonitor();  }### Answer:
@Test public void testName() { MockedAnalogInput input = pin.as(MockedAnalogInput.class); String name = input.getName(); TestCase.assertNotNull(name); }