use of com.google.api.services.container.v1beta1.Container.Projects.Locations in project platinum by hartwigmedical.
the class KubernetesEngineTest method setup.
@Before
public void setup() {
final Projects projects = mock(Projects.class);
processRunner = mock(ProcessRunner.class);
final Container container = mock(Container.class);
locations = mock(Locations.class);
clusters = mock(Clusters.class);
when(container.projects()).thenReturn(projects);
when(projects.locations()).thenReturn(locations);
when(locations.clusters()).thenReturn(clusters);
when(processRunner.execute(anyList())).thenReturn(true);
victim = new KubernetesEngine(container, processRunner, CONFIGURATION);
}
Aggregations