Domain\Employee\EmployeeRepositoryTest::test_get PHP Method

test_get() public method

public test_get ( )
    public function test_get()
    {
        $repo = App::make(EmployeeRepository::class);
        $employee = factory(Employee::class)->create();
        $get = $repo->get($employee->id);
        $this->assertInstanceOf(Employee::class, $get);
        $this->assertEquals($get->id, $employee->id);
    }