'--rest-api-port is coerced to integer.'

def test_rest_api_port(self):

    expected_port = 1234
    options = DockerPluginOptions()
    options.parseOptions([('--rest-api-port=%s' % (expected_port,))])
    self.assertEquals(expected_port, options['rest-api-port'])
