/** * Test that messages added with info() are * assigned the appropriate type. * * @covers \Hubzero\Notification\Handler::info * @return void **/ public function testInfo() { $handler = new Handler(new Memory()); $handler->info('Lorem ipsum dol.'); $m = $handler->messages(); $message = array_pop($m); $this->assertTrue(is_array($message), 'Individual messages should be of type array'); $this->assertEquals($message['type'], 'info'); }