2 * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.cluster.access.concepts;
10 public class ClientIdentifierTest extends AbstractIdentifierTest<ClientIdentifier> {
11 private static final FrontendIdentifier FRONTEND =
12 new FrontendIdentifier(MemberName.forName("test"), FrontendIdentifierTest.ONE_FRONTEND_TYPE);
14 private static final ClientIdentifier OBJECT = new ClientIdentifier(FRONTEND, 0);
15 private static final ClientIdentifier DIFFERENT_OBJECT = new ClientIdentifier(FRONTEND, 1);
16 private static final ClientIdentifier EQUAL_OBJECT = new ClientIdentifier(FRONTEND, 0);
19 ClientIdentifier object() {
24 ClientIdentifier differentObject() {
25 return DIFFERENT_OBJECT;
29 ClientIdentifier equalObject() {