/**
  * @test
  */
 public function scope_due_current_month()
 {
     $logs = DespatchLogEntry::despatchedCurrentMonth()->get();
     foreach ($logs as $entry) {
         $this->assertInstanceOf(DespatchLogEntry::class, $entry);
         $this->assertGreaterThanOrEqual(Carbon::now()->firstOfMonth(), $entry->created_at);
         $this->assertLessThanOrEqual(Carbon::now()->lastOfMonth(), $entry->created_at);
     }
 }