@Test
public void testCanEvaluateRules() throws Exception {
Order order = new Order();
Customer customer = new Customer();
customer.setFirstName("John");
customer.setLastName("Foo");
customer.setTotalOrders(1200);
customer.setTotalSpendForYear(new BigDecimal(50000));
Address address = new Address();
address.setAddress1("Foo Street");
address.setCity("Brooklyn");
address.setState("NY");
customer.setAddress(address);
customer.setBirthday(new SimpleDateFormat("dd-MM-yyyy").parse("01-01-1978"));
order.setCustomer(customer);
muleContext.getClient().dispatch("vm://order.processing.loyalty", order, null);
MuleMessage response = muleContext.getClient().request("vm://loyalty",15000);