Merge pull request #17069 from izeye

* pr/17069:
  Add missing @Test annotations

Closes gh-17069
This commit is contained in:
Phillip Webb 2019-06-11 09:22:10 -07:00
commit 199606da4e
1 changed files with 4 additions and 0 deletions

View File

@ -179,8 +179,11 @@ class SpringIterableConfigurationPropertySourceTests {
DefaultPropertyMapper.INSTANCE);
assertThat(adapter.stream().count()).isEqualTo(2);
map.setThrowException(true);
map.put("key3", "value3");
assertThat(adapter.stream().count()).isEqualTo(3);
}
@Test
public void originTrackedMapPropertySourceKeyAdditionInvalidatesCache() {
// gh-13344
Map<String, Object> map = new LinkedHashMap<>();
@ -194,6 +197,7 @@ class SpringIterableConfigurationPropertySourceTests {
assertThat(adapter.stream().count()).isEqualTo(3);
}
@Test
public void readOnlyOriginTrackedMapPropertySourceKeyAdditionDoesNotInvalidateCache() {
// gh-16717
Map<String, Object> map = new LinkedHashMap<>();