public FilteringRule rule = new FilteringRule("net.sf.cglib", "org.objenesis");
@Test
public void testInterfaceMocking() {
final IMethods mock = createMock(IMethods.class);
expect(mock.booleanReturningMethod(1)).andReturn(true);
replayAll();
assertTrue(mock.booleanReturningMethod(1));
verifyAll();
}