### Question:
ConstantLocations implements SemanticLocations { @Nonnull @Override public Map<String, List<Location>> definitions(@Nonnull MyDocumentModel document) { return Map.of(); }  @Nonnull @Override Map<String, List<Location>> references(@Nonnull MyDocumentModel document); @Nonnull @Override Map<String, List<Location>> definitions(@Nonnull MyDocumentModel document); @Override boolean containsToken(@Nonnull MyDocumentModel document, @Nonnull String token);  }### Answer:
@Test void definitions() { Map<String, List<Location>> definitions = provider.definitions(MODEL); assertTrue(definitions.isEmpty()); }