}
public void testSimple() throws Exception
{
AMQQueue q1 = createAndBind("Q1", "F0000");
AMQQueue q2 = createAndBind("Q2", "F0000=Aardvark");
AMQQueue q3 = createAndBind("Q3", "F0001");
AMQQueue q4 = createAndBind("Q4", "F0001=Bear");
AMQQueue q5 = createAndBind("Q5", "F0000", "F0001");
AMQQueue q6 = createAndBind("Q6", "F0000=Aardvark", "F0001=Bear");
AMQQueue q7 = createAndBind("Q7", "F0000", "F0001=Bear");
AMQQueue q8 = createAndBind("Q8", "F0000=Aardvark", "F0001");
routeAndTest(mockMessage(getArgsMapFromStrings("F0000")), q1);
routeAndTest(mockMessage(getArgsMapFromStrings("F0000=Aardvark")), q1, q2);
routeAndTest(mockMessage(getArgsMapFromStrings("F0000=Aardvark", "F0001")), q1, q2, q3, q5, q8);
routeAndTest(mockMessage(getArgsMapFromStrings("F0000", "F0001=Bear")), q1, q3, q4, q5, q7);