public function testUnregisterMethod()
{
$this->setupServices();
$this->notifications->registerMethod('test_method');
$this->assertTrue($this->notifications->unregisterMethod('test_method'));
$this->assertEquals(array(), $this->notifications->getMethods());
$this->assertFalse($this->notifications->unregisterMethod('test_method'));
}