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