assertSame( "12345\n54321", $options['echo-notifications-blacklist'] ); } /** * Test the UserLoadOptions hook implementation. */ public function testOnUserLoadOptions() { $options['echo-notifications-blacklist'] = "12345\n54321"; EchoHooks::onUserLoadOptions( new User(), $options ); $this->assertSame( [ 12345, 54321 ], $options['echo-notifications-blacklist'] ); } }