IllegalArgumentException, IOException, ServletException {
tester.start(PATH);
ProspectiveSearchService service =
ProspectiveSearchServiceFactory.getProspectiveSearchService();
List<Subscription> subscriptions =
service.listSubscriptions("HotMinutes");
assertThat(" 三段階のクエリが登録される", subscriptions.size(), is(3));
for (Subscription subscription : subscriptions) {
assertThat("memoCount = [25|50|100]", subscription
.getQuery()
.matches("memoCount = (25|50|100)"), is(true));