Correct IllegalArgumentException message.

This commit is contained in:
John Blum
2019-01-30 19:23:36 -08:00
parent 4b8047123c
commit f92d264c65

View File

@@ -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")