/**
  * @return void
  */
 public function testBeforeSave()
 {
     $this->eventManagerMock->expects($this->any())->method('dispatch');
     $this->model->setIsActive(1);
     $actualData = $this->model->beforeSave()->getData();
     $this->assertArrayHasKey('extra', $actualData);
     $this->assertArrayHasKey('password', $actualData);
     $this->assertArrayHasKey('is_active', $actualData);
 }