Correct IllegalArgumentException message.
This commit is contained in:
@@ -79,7 +79,7 @@ public abstract class AbstractConcurrentSessionOperationsIntegrationTests extend
|
||||
.map(GemFireOperationsSessionRepository.class::cast)
|
||||
.map(Mockito::spy)
|
||||
.orElseThrow(() -> newIllegalArgumentException("Expected SessionRepository of type [%1$s]; but was [%2$s]",
|
||||
ObjectUtils.nullSafeClassName(sessionRepository), GemFireOperationsSessionRepository.class.getName()));
|
||||
GemFireOperationsSessionRepository.class.getName(), ObjectUtils.nullSafeClassName(sessionRepository)));
|
||||
}
|
||||
|
||||
@NonNull @SuppressWarnings("unused")
|
||||
|
||||
Reference in New Issue
Block a user