'L{ftp.FTPClient.makeDirectory} issues a I{MKD} command and returns a
L{Deferred} which is called back with the server\'s response if the
directory is created.'

def test_makeDirectory(self):

    self._testLogin()
    d = self.client.makeDirectory('/spam')
    self.assertEqual(self.transport.value(), 'MKD    /spam\r\n')
    self.client.lineReceived('257    "/spam"    created.')
    return d.addCallback(self.assertEqual, ['257    "/spam"    created.'])
