public function testShowExpiredScope() { $this->assertThat(Title::showExpired(true)->where('expiration_date', '>', 0)->where('expiration_date', '<', time())->get(), new CollectionPropertyCompareDateTimeConstraint(time(), 'expiration_date', '<')); }