public void Create()
        {
            var obj = MethodBasedScheduleConditionDefinition.CreateDefinition("a", GetMethodForInt());

            Assert.AreEqual("a", obj.ContractName);
            Assert.AreEqual(MethodDefinition.CreateDefinition(GetMethodForInt()), obj.Method);
        }
        public void RoundtripSerialize()
        {
            var original = MethodBasedScheduleConditionDefinition.CreateDefinition("a", GetMethodForInt());
            var copy     = AssertExtensions.RoundTripSerialize(original);

            Assert.AreEqual(original, copy);
        }