aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/test/java/com/yahoo/container/core/config/testutil/MockZoneInfo.java
blob: b84d65005c0845a8e38147bf297d323524fed2d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.container.core.config.testutil;

import ai.vespa.cloud.ZoneInfo;

/**
 * A ZoneInfo subclass which can be created (for injection) with an emopty constructor
 *
 * @author bratseth
 */
public class MockZoneInfo extends ZoneInfo {

    public MockZoneInfo() {
        super(ZoneInfo.defaultInfo().application(), ZoneInfo.defaultInfo().zone());
    }

}