use of com.jcabi.http.request.FakeRequest in project jcabi-github by jcabi.
the class RtRepoTest method fetchesLabels.
/**
* RtRepo can fetch its labels.
*
* @throws Exception if a problem occurs.
*/
@Test
public void fetchesLabels() throws Exception {
final Repo repo = RtRepoTest.repo(new FakeRequest());
MatcherAssert.assertThat(repo.labels(), Matchers.notNullValue());
}
use of com.jcabi.http.request.FakeRequest in project jcabi-github by jcabi.
the class RtRepoTest method fetchKeys.
/**
* RtRepo can fetch its keys.
*
* @throws Exception if a problem occurs.
*/
@Test
public void fetchKeys() throws Exception {
final Repo repo = RtRepoTest.repo(new FakeRequest());
MatcherAssert.assertThat(repo.keys(), Matchers.notNullValue());
}
use of com.jcabi.http.request.FakeRequest in project jcabi-github by jcabi.
the class RtRepoTest method fetchReleases.
/**
* RtRepo can fetch its releases.
*
* @throws Exception if a problem occurs.
*/
@Test
public void fetchReleases() throws Exception {
final Repo repo = RtRepoTest.repo(new FakeRequest());
MatcherAssert.assertThat(repo.releases(), Matchers.notNullValue());
}
use of com.jcabi.http.request.FakeRequest in project jcabi-github by jcabi.
the class RtRepoTest method fetchNotifications.
/**
* RtRepo can fetch notifications.
*/
@Test
public void fetchNotifications() {
final Repo repo = RtRepoTest.repo(new FakeRequest());
MatcherAssert.assertThat(repo.notifications(), Matchers.notNullValue());
}
use of com.jcabi.http.request.FakeRequest in project jcabi-github by jcabi.
the class RtRepoTest method fetchStars.
/**
* RtRepo can fetch stars.
*/
@Test
public void fetchStars() {
final Repo repo = RtRepoTest.repo(new FakeRequest());
MatcherAssert.assertThat(repo.stars(), Matchers.notNullValue());
}
Aggregations