Skip to content

Commit

Permalink
Polish "Start building against Spring Data Neumann-SR7 snapshots"
Browse files Browse the repository at this point in the history
  • Loading branch information
snicoll committed Feb 15, 2021
1 parent bab0862 commit 3f9f9a4
Showing 1 changed file with 4 additions and 2 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -215,7 +215,9 @@ void providesASingletonScopedBookmarkManagerIfNecessaryAndPossible() {
void doesNotProvideABookmarkManagerIfNotPossible() {
this.contextRunner.withClassLoader(new FilteredClassLoader(Caffeine.class, EmbeddedDriver.class))
.withUserConfiguration(BookmarkManagementEnabledConfiguration.class)
.run((context) -> assertThat(context).doesNotHaveBean(BookmarkManager.class));
.run((context) -> assertThat(context).hasFailed().getFailure()
.hasMessageContaining("Bookmark management has been enabled")
.hasMessageContaining("Please provide a bookmark manager"));
}

private static void assertDomainTypesDiscovered(Neo4jMappingContext mappingContext, Class<?>... types) {
Expand Down

0 comments on commit 3f9f9a4

Please sign in to comment.