+ ContactLoadStatus testFileLoadStatus = CONTACTLOAD_UNITTESTFAIL;
+ testFileLoadStatus = testFile.LoadFile("LoadCheck-Load3.vcf");
+
+ // Then
+
+ ASSERT_EQ(CONTACTLOAD_FILEBASESPECFAIL, testFileLoadStatus);
+
+}
+
+TEST(ContactLoad, GivenContactDataObjectWhenLoadFileIsCalledThenContactLoadedOK)
+{
+
+ // Given
+
+ ContactDataObject testFile;
+
+ // When
+
+ ContactLoadStatus testFileLoadStatus = CONTACTLOAD_UNITTESTFAIL;
+ testFileLoadStatus = testFile.LoadFile("LoadCheck-Load4.vcf");
+
+ // Then
+
+ ASSERT_EQ(CONTACTLOAD_OK, testFileLoadStatus);
+
+}
+
+TEST(ContactLoad, ContactLoadTests){
+
+ ContactDataObject TestFile;
+
+ // Check that the file given does not have an error when attempting to
+ // open it.