blob: 3c9e228b6cb650603f57667a90a5f1af293c57ff (
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 InstanceNameTest extends IdentifierTestBase<InstanceName> {
@Override
protected InstanceName createInstance(String id) {
return InstanceName.from(id);
}
@Override
protected InstanceName createDefaultInstance() {
return InstanceName.defaultName();
}
@Override
protected boolean isDefault(InstanceName instance) {
return instance.isDefault();
}
}
|