@Test
public void testConstructorParams() {

	// verify construction params
	ConstructorTestClass testObj = new ConstructorTestClass(
		"hostTest", 999, "userTest", "passTest",
		"queueTest", false, new StringDeserializationScheme());
	try {
		testObj.open(new Configuration());
	} catch (Exception e) {
		// connection fails but check if args have been passed correctly
	}
	assertEquals("hostTest", testObj.getFactory().getHost());
	assertEquals(999, testObj.getFactory().getPort());
	assertEquals("userTest", testObj.getFactory().getUsername());
	assertEquals("passTest", testObj.getFactory().getPassword());
}