use of com.sequenceiq.redbeams.api.endpoint.v4.database.base.DatabaseV4Identifiers in project cloudbreak by hortonworks.
the class DatabaseTestV4RequestTest method testGettersAndSetters.
@Test
public void testGettersAndSetters() {
DatabaseV4Identifiers identifiers = new DatabaseV4Identifiers();
request.setExistingDatabase(identifiers);
assertEquals(identifiers, request.getExistingDatabase());
DatabaseV4Request serverRequest = new DatabaseV4Request();
serverRequest.setName("mydb1");
request.setDatabase(serverRequest);
assertEquals("mydb1", request.getDatabase().getName());
}
Aggregations