public void testPojoMethodThrowsException() throws Exception {
MockControl controlTuple = mocks.createControl(Tuple.class);
Tuple mockTuple = (Tuple)controlTuple.getMock();
MockControl controlRuleMethod = newMockRuleMethod();
RuleReflectMethod mockRuleMethod = (RuleReflectMethod) controlRuleMethod.getMock();
controlRuleMethod.expectAndThrow(mockRuleMethod.invokeMethod(mockTuple),
new RuntimeException("test-exception"));
RuleReflectMethod[] mockRuleMethods = new RuleReflectMethod[]{mockRuleMethod};
mocks.replay();