blob: 08e887e78da868748eb398da5e618c2cc08b0742 [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 (
Scott Bakerce767002019-10-23 13:30:24 -070019 adapterIf "github.com/opencord/voltha-lib-go/v2/pkg/adapters/adapterif"
David Bainbridge36d0b202019-10-23 18:33:34 +000020 "testing"
21)
22
23func TestCoreProxyImplementsAdapterIfCoreProxy(t *testing.T) {
24 proxy := &CoreProxy{}
25
26 if _, ok := interface{}(proxy).(adapterIf.CoreProxy); !ok {
27 t.Error("common CoreProxy does not implement adapterif.CoreProxy interface")
28 }
29
30}