public function setUp()
 {
     $this->plugin = HM\BackUpWordPress\Plugin::get_instance();
     $this->schedule_intervals = hmbkp_get_cron_schedules();
 }
 public function test_activate()
 {
     $this->plugin = HM\BackUpWordPress\Plugin::get_instance();
     $this->assertInstanceOf('HM\\BackUpWordPress\\Plugin', $this->plugin);
 }
<?php

$container['bwp'] = function ($container) {
    return HM\BackUpWordPress\Plugin::get_instance();
};
$container['addon'] = function ($container) {
    return new $container['addon_class']($container['addon_version'], $container['min_bwp_version'], $container['service_class'], $container['edd_download_file_name'], $container['plugin_name'], $container['addon_settings_key'], $container['addon_settings_defaults']);
};
$container['admin'] = function ($container) {
    return new $container['checklicense_class']($container['addon_settings_key'], $container['addon_settings_defaults'], $container['edd_download_file_name'], $container['addon'], $container['prefix']);
};