public function testThatCollectionIsSerializableAfterQueries()
{
$collection = Collection::from(range(1, 10));
$collection = $collection->where([__CLASS__, 'whereGreaterThanThree']);
$serializedCollection = serialize($collection);
$unserializedCollection = unserialize($serializedCollection);
$this->assertEquals($collection->asArray(), $unserializedCollection->asArray());
}