### Question:
MetricsReportingTask extends AbstractReportingTask { @Override protected List<PropertyDescriptor> getSupportedPropertyDescriptors() { List<PropertyDescriptor> properties = new ArrayList<>(); properties.add(REPORTER_SERVICE); properties.add(PROCESS_GROUP_ID); return Collections.unmodifiableList(properties); }  @OnScheduled void connect(ConfigurationContext context); @Override void onTrigger(ReportingContext context);  }### Answer:
@Test public void testGetSupportedPropertyDescriptorsSanity() throws Exception { List<PropertyDescriptor> expected = Arrays.asList( MetricsReportingTask.REPORTER_SERVICE, MetricsReportingTask.PROCESS_GROUP_ID); assertEquals(expected, testedReportingTask.getSupportedPropertyDescriptors()); }