@Test public void extractChamberName() { String divisionName = scChamberDivisionNameExtractor.extractChamberName("Izba Karna Wydział 1"); assertEquals("Izba Karna", divisionName); }
public String extractChamberName(String fullName) { checkName(fullName); return fullName.split("Wydział")[0].trim(); }
ScChamberDivisionNameExtractor { public String extractChamberName(String fullName) { checkName(fullName); return fullName.split("Wydział")[0].trim(); } }
ScChamberDivisionNameExtractor { public String extractChamberName(String fullName) { checkName(fullName); return fullName.split("Wydział")[0].trim(); }  }
ScChamberDivisionNameExtractor { public String extractChamberName(String fullName) { checkName(fullName); return fullName.split("Wydział")[0].trim(); }  String extractDivisionName(String fullName); String extractChamberName(String fullName); }
ScChamberDivisionNameExtractor { public String extractChamberName(String fullName) { checkName(fullName); return fullName.split("Wydział")[0].trim(); }  String extractDivisionName(String fullName); String extractChamberName(String fullName);  }