aboutsummaryrefslogtreecommitdiffstats
path: root/config-provisioning/src/test/java/com/yahoo/config/provision/ApplicationNameTest.java
blob: 303b537d81fd0439cd7cbd4aa24ac761e7d13256 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.provision;

/**
 * @author Ulf Lilleengen
 * @since 5.25
 */
public class ApplicationNameTest extends IdentifierTestBase<ApplicationName> {
    @Override
    protected ApplicationName createInstance(String id) {
        return ApplicationName.from(id);
    }

    @Override
    protected ApplicationName createDefaultInstance() {
        return ApplicationName.defaultName();
    }

    @Override
    protected boolean isDefault(ApplicationName instance) {
        return instance.isDefault();
    }
}