Exemple #1
0
 public void TestSaveActivityType_ActivityTypeIsNull()
 {
     provider.SaveActivityType(null);
 }
Exemple #2
0
 public void TestSaveActivityType_InvalidConnection()
 {
     invalidProvider.SaveActivityType(CreateType());
 }
Exemple #3
0
        public void TestSaveActivity_Accuracy()
        {
            HermesActivity first = AccuracyTestsHelper.CreateHermesActivity();

            instance.SaveActivityGroup(first.ActivityType.ActivityGroup);
            instance.SaveActivityType(first.ActivityType);
            instance.SaveActivity(first);

            // Verify
            HermesActivity second = instance.GetActivity(first.Id);

            AccuracyTestsHelper.VerifyHermesActivity(first, second);
        }