@Test public void testFoundOperatingSystemDummyDetails() { assertFalse(osDetectorHelperService.foundOperatingSystem(new OperatingSystemDetails())); }
public boolean foundOperatingSystem(OperatingSystemDetails os) { return isNotBlank(os.getFamily()) || isNotBlank(os.getName()); }
OsDetectorHelperService { public boolean foundOperatingSystem(OperatingSystemDetails os) { return isNotBlank(os.getFamily()) || isNotBlank(os.getName()); } }
OsDetectorHelperService { public boolean foundOperatingSystem(OperatingSystemDetails os) { return isNotBlank(os.getFamily()) || isNotBlank(os.getName()); }  }
OsDetectorHelperService { public boolean foundOperatingSystem(OperatingSystemDetails os) { return isNotBlank(os.getFamily()) || isNotBlank(os.getName()); }  String formatOsCommandsOutput(Map<String, List<String>> commandsOutput); void validateNmapInputs(OsDetectorInputs osDetectorInputs, NmapOsDetectorService nmapOsDetectorService); String cropValue(String stdOut, String begin, String end); boolean foundOperatingSystem(OperatingSystemDetails os); OperatingSystemDetails processOutput(OperatingSystemDetails operatingSystemDetails, Map<String, String> execute, String detectOption); String resolveOsFamily(String osName); }
OsDetectorHelperService { public boolean foundOperatingSystem(OperatingSystemDetails os) { return isNotBlank(os.getFamily()) || isNotBlank(os.getName()); }  String formatOsCommandsOutput(Map<String, List<String>> commandsOutput); void validateNmapInputs(OsDetectorInputs osDetectorInputs, NmapOsDetectorService nmapOsDetectorService); String cropValue(String stdOut, String begin, String end); boolean foundOperatingSystem(OperatingSystemDetails os); OperatingSystemDetails processOutput(OperatingSystemDetails operatingSystemDetails, Map<String, String> execute, String detectOption); String resolveOsFamily(String osName);  }