source: class DetectorRegistryTest {
  
      private Context context;
      private DetectorRegistry detectorRegistry;
  
      @Test
      public void addFakeDetector() {
  
target:         final long WARNINGS = getWarnings();
          assertFalse(detectorRegistry.addDetector(DetectorRegistryTest.class));
          assertEquals(WARNINGS, getWarnings());
      }
  
  }