Search in sources :

Example 1 with ListTermsResponse

use of com.cloudera.thunderhead.service.usermanagement.UserManagementProto.ListTermsResponse in project cloudbreak by hortonworks.

the class MockUserManagementServiceTest method listTermsTest.

@Test
void listTermsTest() {
    ListTermsRequest req = ListTermsRequest.getDefaultInstance();
    StreamRecorder<ListTermsResponse> observer = StreamRecorder.create();
    underTest.listTerms(req, observer);
    assertThat(observer.getValues().size()).isEqualTo(1);
}
Also used : ListTermsResponse(com.cloudera.thunderhead.service.usermanagement.UserManagementProto.ListTermsResponse) ListTermsRequest(com.cloudera.thunderhead.service.usermanagement.UserManagementProto.ListTermsRequest) Test(org.junit.jupiter.api.Test) ParameterizedTest(org.junit.jupiter.params.ParameterizedTest)

Aggregations

ListTermsRequest (com.cloudera.thunderhead.service.usermanagement.UserManagementProto.ListTermsRequest)1 ListTermsResponse (com.cloudera.thunderhead.service.usermanagement.UserManagementProto.ListTermsResponse)1 Test (org.junit.jupiter.api.Test)1 ParameterizedTest (org.junit.jupiter.params.ParameterizedTest)1