@Test public void analyzeSystem() { Mockito.when(detectorMock.detect()).thenReturn(new HashSet<>()); SystemFragment result = analyzer.analyzeSystem(); ComponentRelationships rels = ComponentRelationships.builder().component(Component.of("name", "type")).build(); Assertions.assertThat(result).isEqualTo(SystemFragment.of(rels)); }
@Override public SystemFragment analyzeSystem() { return SystemFragment.of(Collections.singleton(analyzeApplication())); }
SpringBootApplicationAnalyzer implements ApplicationAnalyzer { @Override public SystemFragment analyzeSystem() { return SystemFragment.of(Collections.singleton(analyzeApplication())); } }
SpringBootApplicationAnalyzer implements ApplicationAnalyzer { @Override public SystemFragment analyzeSystem() { return SystemFragment.of(Collections.singleton(analyzeApplication())); } SpringBootApplicationAnalyzer(CereebroProperties cereebroProperties,
            Collection<RelationshipDetector> detectors); }
SpringBootApplicationAnalyzer implements ApplicationAnalyzer { @Override public SystemFragment analyzeSystem() { return SystemFragment.of(Collections.singleton(analyzeApplication())); } SpringBootApplicationAnalyzer(CereebroProperties cereebroProperties,
            Collection<RelationshipDetector> detectors); @Override ComponentRelationships analyzeApplication(); @Override SystemFragment analyzeSystem(); }
SpringBootApplicationAnalyzer implements ApplicationAnalyzer { @Override public SystemFragment analyzeSystem() { return SystemFragment.of(Collections.singleton(analyzeApplication())); } SpringBootApplicationAnalyzer(CereebroProperties cereebroProperties,
            Collection<RelationshipDetector> detectors); @Override ComponentRelationships analyzeApplication(); @Override SystemFragment analyzeSystem();  }