Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Removed param proxy unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions test/ModuleEventTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ public function setUp()
$this->event = new ModuleEvent();
}

public function testSettingModuleProxiesToParameters()
{
$module = new stdClass;
$this->event->setModule($module);
$test = $this->event->getParam('module');
$this->assertSame($module, $test);
}

public function testCanRetrieveModuleViaGetter()
{
$module = new stdClass;
Expand All @@ -44,14 +36,6 @@ public function testPassingNonObjectToSetModuleRaisesException()
$this->event->setModule('foo');
}

public function testSettingModuleNameProxiesToParameters()
{
$moduleName = 'MyModule';
$this->event->setModuleName($moduleName);
$test = $this->event->getParam('moduleName');
$this->assertSame($moduleName, $test);
}

public function testCanRetrieveModuleNameViaGetter()
{
$moduleName = 'MyModule';
Expand Down

0 comments on commit 4244857

Please sign in to comment.