Person { public String getCarInsuranceName() { return car .flatMap(Car::getInsurance) .flatMap(Insurance::getName) .orElse("Unknown"); }  String getCarInsuranceName();  }
@Test public void testCarInsuranceName() throws IOException { Person p = new Person(); assertEquals("Unknown", p.getCarInsuranceName()); }