ASSERT_EQ(CALENDAROBJECTLOAD_CANNOTOPEN, TestFreeBusy.LoadFile("iCalendarFreeBusy-InvalidPermissions.vcf"));
ASSERT_EQ(CALENDAROBJECTLOAD_OK, TestFreeBusy.LoadFile("iCalendarFreeBusy-Load1.vcf"));
+}
+
+TEST(iCalendarFreeBusy, ObjectDataTests){
+
+ CalendarFreeBusyObject TestFreeBusy;
+ ASSERT_EQ(CALENDAROBJECTLOAD_OK, TestFreeBusy.LoadFile("iCalendarFreeBusy-Load2.vcf"));
+ ASSERT_EQ(CALENDAROBJECTVALID_OK, TestFreeBusy.ValidBaseObject());
+
+ // Tests for DTSTAMP.
+
+ ASSERT_EQ("20160131T173000Z", TestFreeBusy.DateTimeStampData);
+ ASSERT_EQ("OTHER=PARAM", TestFreeBusy.DateTimeStampTokens);
+
}
\ No newline at end of file