public function test_update_by_put()
{
$employee = factory(Employee::class)->create();
$user = factory(User::class)->create(['owner_id' => $employee->id, 'owner_type' => get_class($employee)]);
$data = ['name' => 'Funcionário x', 'sex' => $employee->sex, 'user' => ['username' => $employee->user->username, 'email' => $employee->user->email]];
$this->put('api/v1/employee/' . $employee->id, $data);
$this->seeStatusCode(200);
$this->seeJson(['name' => 'Funcionário x']);
$this->assertInstanceOf(Employee::class, $this->response->original);
$this->seeInDatabase('employees', ['id' => $this->response->original->id]);
}