Exemple #1
0
 public function testScopeStartOnDateTime()
 {
     $this->assertThat(Title::startOn(DateTime::createFromFormat('Y-m-d', '2014-01-01'))->get(), new CollectionPropertyCompareDateTimeConstraint(DateTime::createFromFormat('Y-m-d', '2014-01-01'), 'entry_date', '>'));
 }