Create E2T API implementation and yaml change for multiple e2t instances handling...
[ric-plt/rtmgr.git] / pkg / sbi / sbi_test.go
index 5c7e848..ee8671f 100644 (file)
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
+
+   This source code is part of the near-RT RIC (RAN Intelligent Controller)
+   platform project (RICP).
+
 ==================================================================================
 */
 /*
 ==================================================================================
 */
 /*
 package sbi
 
 import (
 package sbi
 
 import (
-       "testing"
-       "reflect"
        "errors"
        "errors"
+       "reflect"
+       "testing"
 )
 
 func TestGetSbi(t *testing.T) {
        var errtype = errors.New("")
 )
 
 func TestGetSbi(t *testing.T) {
        var errtype = errors.New("")
-       var sbitype = new(NngPub)
+       var sbitype = new(NngPush)
        var invalids = []string{"nngpus", ""}
 
        var invalids = []string{"nngpus", ""}
 
-       sbii, err := GetSbi("nngpub")
+       sbii, err := GetSbi("nngpush")
        if err != nil {
                t.Errorf("GetSbi(nngpub) was incorrect, got: %v, want: %v.", reflect.TypeOf(err), nil)
        }
        if err != nil {
                t.Errorf("GetSbi(nngpub) was incorrect, got: %v, want: %v.", reflect.TypeOf(err), nil)
        }