Search in sources :

Example 1 with Company

use of com.venafi.vcert.sdk.connectors.cloud.domain.Company in project vcert-java by Venafi.

the class CloudConnectorTest method setUp.

@BeforeEach
void setUp() {
    classUnderTest = new CloudConnector(cloud);
    userDetails = new UserDetails().user(new User()).company(new Company());
    when(cloud.authorize(anyString())).thenReturn(userDetails);
}
Also used : Company(com.venafi.vcert.sdk.connectors.cloud.domain.Company) UserDetails(com.venafi.vcert.sdk.connectors.cloud.domain.UserDetails) User(com.venafi.vcert.sdk.connectors.cloud.domain.User) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

Company (com.venafi.vcert.sdk.connectors.cloud.domain.Company)1 User (com.venafi.vcert.sdk.connectors.cloud.domain.User)1 UserDetails (com.venafi.vcert.sdk.connectors.cloud.domain.UserDetails)1 BeforeEach (org.junit.jupiter.api.BeforeEach)1