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