Domain\Teacher\TeacherTest::test_create_teacher_with_deleted PHP Method

test_create_teacher_with_deleted() public method

    public function test_create_teacher_with_deleted()
    {
        $teacher = factory(Teacher::class)->create();
        $this->assertInstanceOf(Teacher::class, $teacher);
        $teacher->delete();
        $this->assertInstanceOf(Carbon::class, $teacher->created_at);
        $this->assertInstanceOf(Carbon::class, $teacher->updated_at);
        $this->assertInstanceOf(Carbon::class, $teacher->deleted_at);
    }