### Question:
ConstantLocations implements SemanticLocations { @Nonnull @Override public Map<String, List<Location>> references(@Nonnull MyDocumentModel document) { return document.getAnalysisResult().getConstantUsages(); }  @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 references() { Map<String, List<Location>> references = provider.references(MODEL); assertEquals(EXPECTED_LOCATIONS, references); }