Remove punctuation in Exception messages.

Closes #442.
This commit is contained in:
John Blum
2022-06-08 16:59:58 -07:00
parent 29d8eaa246
commit efaeeebe39
23 changed files with 107 additions and 107 deletions

View File

@@ -79,7 +79,7 @@ class MapRepositoriesConfigurationExtensionIntegrationTests {
PersonRepository repository = context.getBean(PersonRepository.class);
assertThatThrownBy(() -> repository.findById("foo")).hasRootCauseInstanceOf(IllegalStateException.class).hasMessageContaining("Mock!");
assertThatThrownBy(() -> repository.findById("foo")).hasRootCauseInstanceOf(IllegalStateException.class).hasMessageContaining("Mock");
context.close();
}
@@ -128,7 +128,7 @@ class MapRepositoriesConfigurationExtensionIntegrationTests {
KeyValueAdapter mock = mock(KeyValueAdapter.class);
when(mock.get(any(), anyString(), any())).thenThrow(new IllegalStateException("Mock!"));
when(mock.get(any(), anyString(), any())).thenThrow(new IllegalStateException("Mock"));
return mock;
}