public void ShouldThrowInvalidAttributeExceptionWhenValueDoesNotParseToInteger()
        {
            var categoryFunction = new MonthlyCategoryFunction("bizDate");

            categoryFunction.OwningPartition("NOT_A_DATE");
        }
 public void ShouldThrowInvalidAttributeExceptionWhenValueDoesNotParseToInteger()
 {
     var categoryFunction = new MonthlyCategoryFunction();
     categoryFunction.OwningPartition("NOT_A_DATE");
 }
        public void OwningPartitionNameShouldEqualBaseOfPartitionRange()
        {
            var categoryFunction = new MonthlyCategoryFunction("bizDate");

            Assert.AreEqual("2010-06", categoryFunction.OwningPartition("2010-06-05"));
        }
 public void OwningPartitionNameShouldEqualBaseOfPartitionRange()
 {
     var categoryFunction = new MonthlyCategoryFunction();
     Assert.AreEqual("2010-06", categoryFunction.OwningPartition("2010-06-05"));
 }