use of com.yahoo.vespa.hosted.controller.ConfigServerProxyMock in project vespa by vespa-engine.
the class ZoneApiTest method before.
@Before
public void before() {
ZoneRegistryMock zoneRegistry = (ZoneRegistryMock) container.components().getComponent(ZoneRegistryMock.class.getName());
zoneRegistry.setDefaultRegionForEnvironment(Environment.dev, RegionName.from("us-north-2")).setZones(zones);
this.tester = new ContainerControllerTester(container, responseFiles);
this.proxy = (ConfigServerProxyMock) container.components().getComponent(ConfigServerProxyMock.class.getName());
addUserToHostedOperatorRole(HOSTED_VESPA_OPERATOR);
}
Aggregations