From b4468d4962d0167c7067fa96af2bdddb8bb022af Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 8 Feb 2010 20:10:21 -0700 Subject: [PATCH] Unneeed tests --- .../Notification/Class/Notification/ListenerTest.php | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/framework/Notification/test/Horde/Notification/Class/Notification/ListenerTest.php b/framework/Notification/test/Horde/Notification/Class/Notification/ListenerTest.php index becbc6c8f..ae7b72cde 100644 --- a/framework/Notification/test/Horde/Notification/Class/Notification/ListenerTest.php +++ b/framework/Notification/test/Horde/Notification/Class/Notification/ListenerTest.php @@ -171,26 +171,6 @@ class Horde_Notification_Class_Notification_ListenerTest extends PHPUnit_Framewo $this->assertEquals('message : a, b', $result->_message); } - public function testMethodGetflagsHasResultArrayEmptyIfTheGivenMessageHasNoFlags() - { - $listener = new Horde_Notification_Listener_Mock(); - $message = array(); - $this->assertEquals(array(), $listener->getFlags($message)); - } - - public function testMethodGetflagsHasResultArrayEmptyIfTheFlagsCouldNotBeUnserialized() - { - $listener = new Horde_Notification_Listener_Mock(); - $message = array('flags' => 'unserializable'); - $this->assertEquals(array(), $listener->getFlags($message)); - } - - public function testMethodGetflagsHasResultArrayMessageFlags() - { - $listener = new Horde_Notification_Listener_Mock(); - $message = array('flags' => serialize(array('a' => 'a'))); - $this->assertEquals(array('a' => 'a'), $listener->getFlags($message)); - } } class Horde_Notification_Listener_Mock extends Horde_Notification_Listener -- 2.11.0