public function testgetAuthentications() { $io = new NullIO(); $this->assertInternalType('array', $io->getAuthentications()); $this->assertEmpty($io->getAuthentications()); $this->assertEquals(array('username' => null, 'password' => null), $io->getAuthentication('foo')); }