1 /*
2 * SPDX-FileCopyrightText: Copyright (c) 2013-2025 Yegor Bugayenko
3 * SPDX-License-Identifier: MIT
4 */
5 package com.jcabi.github;
6
7 import org.hamcrest.MatcherAssert;
8 import org.hamcrest.Matchers;
9 import org.junit.jupiter.api.Test;
10
11 /**
12 * Test case for {@link RtOrganizations}.
13 * @see <a href="https://developer.github.com/v3/orgs/">Organizations API</a>
14 * @since 0.24
15 */
16 final class RtOrganizationsITCase {
17 @Test
18 void getOrganization() {
19 final String login = "github";
20 final Organization org = GitHubIT.connect()
21 .organizations().get(login);
22 MatcherAssert.assertThat(
23 "Values are not equal",
24 org.login(),
25 Matchers.equalTo(login)
26 );
27 }
28
29 }