`resolve("unknown-location"` actually throws `java.util.NoSuchElementException` with the message *No named location defined matching 'unknown-location'*. I think this is better than returning `null` so I will change the check in the test.