public function test_store() { $repo = App::make(StudentRepository::class); $store = $repo->store(['name' => 'oi']); $this->assertInstanceOf(Student::class, $store); $this->assertInstanceOf(Carbon::class, $store->created_at); }