Wrote test case to test and cover nullCheckForVnfcType() and
nullCheckForVnfcTypeList() functions.
Issue-ID: APPC-1064
Change-Id: I3a306b32ada7754010703fe382402fa0699c5f56
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
expect(spy).toHaveBeenCalled();
expect(returnValue).toBe(true);
}));
+
+
+ it('should test nullCheckForVnfcType and nullCheckForVnfcTypeList function', inject([ReferenceDataFormUtil], (service: ReferenceDataFormUtil) => {
+ let returnValueVnfcType = service.nullCheckForVnfcType(false);
+ let returnValueVnfcTypeList = service.nullCheckForVnfcTypeList('null');
+ expect(returnValueVnfcType).toBe(true);
+ expect(returnValueVnfcTypeList).toBe(true);
+ }));
});