use of com.google.cloud.dataproc.v1.ManagedCluster in project kubernetes-client by fabric8io.
the class ManagedClusterCrudTest method get.
@Test
void get() {
// Given
client.clusters().managedClusters().create(createNewManagedCluster("test-get"));
// When
ManagedCluster managedCluster = client.clusters().managedClusters().withName("test-get").get();
// Then
assertThat(managedCluster).isNotNull().hasFieldOrPropertyWithValue("metadata.name", "test-get");
}
Aggregations