### Question:
ObjectiveCSquidSensor implements Sensor { @Override public void describe(@Nonnull SensorDescriptor descriptor) { descriptor.name(getClass().getSimpleName()); descriptor.onlyOnLanguage(ObjectiveC.KEY); } @SuppressWarnings("WeakerAccess")  ObjectiveCSquidSensor(FileSystem fileSystem, PathResolver pathResolver); @Override void describe(@Nonnull SensorDescriptor descriptor); @Override void execute(@Nonnull SensorContext context);  }### Answer:
@Test public void describe() { DefaultSensorDescriptor descriptor = new DefaultSensorDescriptor(); sensor.describe(descriptor); assertEquals("ObjectiveCSquidSensor", descriptor.name()); assertTrue(descriptor.languages().contains(ObjectiveC.KEY)); }