Domain\Employee\EmployeeTest::test_create_employee_without_user PHP Method

test_create_employee_without_user() public method

    public function test_create_employee_without_user()
    {
        $employee = factory(Employee::class)->create();
        $this->assertInstanceOf(Employee::class, $employee);
        $this->assertNull($employee->user);
    }