public void Should_be_able_to_create_parameter() { try { managementClient.DeleteParameter("federation-upstream", vhostName, "myfakefederationupstream"); } catch (UnexpectedHttpStatusCodeException ex) { if (ex.StatusCodeNumber != 404) { throw; } } managementClient.CreateParameter(new Parameter { Component = "federation-upstream", Name = "myfakefederationupstream", Vhost = vhostName, Value = new { uri = "amqp://*****:*****@localhost" } }); Assert.True(managementClient.GetParameters().Where(p => p.Name == "myfakefederationupstream").Any()); }