/**
  * Constructor. Sets up the properties.
  *
  * @param Updater $updater Updater.
  * @param \wpdb   $wpdb    Database object.
  * @param Option  $option  Option model.
  */
 public function __construct(Updater $updater, \wpdb $wpdb, Option $option)
 {
     $this->version_option_name = $updater->get_option_name();
     $this->wpdb = $wpdb;
     $this->option = $option;
 }
 /**
  * @covers tfrommen\DefaultPostDate\Update\Updater::get_option_name
  *
  * @return void
  */
 public function test_get_option_name()
 {
     $testee = new Testee();
     $this->assertSame('default_post_date_version', $testee->get_option_name());
 }