blob: b47f43ef3e56a951ab23745408dcb30aa36c207c [file] [log] [blame]
David Bainbridge36d0b202019-10-23 18:33:34 +00001/*
2 * Copyright 2019-present Open Networking Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package common
17
18import (
David Bainbridge36d0b202019-10-23 18:33:34 +000019 "testing"
serkant.uluderyab38671c2019-11-01 09:35:38 -070020
21 adapterIf "github.com/opencord/voltha-lib-go/v3/pkg/adapters/adapterif"
David Bainbridge36d0b202019-10-23 18:33:34 +000022)
23
24func TestCoreProxyImplementsAdapterIfCoreProxy(t *testing.T) {
25 proxy := &CoreProxy{}
26
27 if _, ok := interface{}(proxy).(adapterIf.CoreProxy); !ok {
28 t.Error("common CoreProxy does not implement adapterif.CoreProxy interface")
29 }
30
31}