aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.util.spec.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.util.spec.ts')
-rw-r--r--src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.util.spec.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.util.spec.ts b/src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.util.spec.ts
index d18ee0b..aa7fbfa 100644
--- a/src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.util.spec.ts
+++ b/src/app/vnfs/build-artifacts/reference-dataform/reference-dataform.util.spec.ts
@@ -63,4 +63,12 @@ describe('ReferenceDataFormUtil', () => {
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);
+ }));
});