SGF-508 - Fix embedded Locator and Manager service configuration using Java-based configuration meta-data with @Enable annotations.

This commit is contained in:
John Blum
2016-08-01 23:03:23 -07:00
parent 186157a97d
commit 0dfbfdf443
18 changed files with 428 additions and 179 deletions

View File

@@ -148,18 +148,17 @@ public class CollectionUtilsTest {
iterator.next();
}
catch (NoSuchElementException ignore) {
assertThat(ignore.getMessage(), is(equalTo("no elements in this Iterator")));
assertThat(ignore.getMessage(), is(equalTo("No more elements")));
assertThat(ignore.getCause(), is(nullValue()));
try {
iterator.remove();
}
catch (UnsupportedOperationException expected) {
assertThat(expected.getMessage(), is(equalTo("operation not supported")));
assertThat(expected.getMessage(), is(equalTo("Operation not supported")));
assertThat(expected.getCause(), is(nullValue()));
throw expected;
}
}
}
}