예제 #1
0
 /**
  * @expectedException \Celest\DateTimeException
  */
 public function test_with_TemporalField_long_invalidField()
 {
     self::TEST_2007_07_15()->with(MockFieldNoValue::INSTANCE(), 1);
 }
 /**
  * @expectedException \Celest\DateTimeException
  */
 public function test_getLong_TemporalField_invalidField()
 {
     foreach ($this->samples() as $sample) {
         $sample->getLong(MockFieldNoValue::INSTANCE());
     }
 }