7475767778798081828384
); MatcherAssert.assertThat( keys.iterate(), Matchers.<PublicKey>iterableWithSize(2) ); container.stop(); } /** * RtPublicKeys should be able to obtain a single key. *
100101102103104105106107108109110
MatcherAssert.assertThat( keys.get(1), Matchers.notNullValue() ); } finally { container.stop(); } } /** * RtPublicKeys should be able to remove a key.
133134135136137138139140141142143
MatcherAssert.assertThat( query.method(), Matchers.equalTo(Request.DELETE) ); } finally { container.stop(); } } /** * RtPublicKeys can create a key.
169170171172173174175176177178179
Matchers.equalTo( "{\"title\":\"theTitle\",\"key\":\"theKey\"}" ) ); } finally { container.stop(); } } /** * Create and return key to test.
170171172173174175176177178179180
); MatcherAssert.assertThat( container.take().method(), Matchers.equalTo(Request.PATCH) ); container.stop(); } /** * RtUser can fetch emails. */
7374757677787980818283
); MatcherAssert.assertThat( new Issue.Smart(issue).title(), Matchers.equalTo(title) ); container.stop(); } /** * RtIssues can get a single issue. * @throws Exception if some problem inside
9899100101102103104105106107108
final Issue issue = issues.get(1); MatcherAssert.assertThat( new Issue.Smart(issue).title(), Matchers.equalTo(title) ); container.stop(); } /** * RtIssues can iterate issues. * @throws Exception if there is any error
124125126127128129130131132133134
); MatcherAssert.assertThat( issues.iterate(new ArrayMap<String, String>()), Matchers.<Issue>iterableWithSize(2) ); container.stop(); } /** * Create and return JsonObject to test. * @param title The title of the issue
238239240241242243244245246247248
); MatcherAssert.assertThat( query.body(), Matchers.isEmptyOrNullString() ); container.stop(); } /** * RtGist can execute PATCH request. *
267268269270271272273274275
MatcherAssert.assertThat( container.take().method(), Matchers.equalTo(Request.PATCH) ); } finally { container.stop(); } } }