@Test(expected = IllegalArgumentException.class)
public void unknownClassTest() {

    ProxyFactoryBase factoryBase = Mockito.mock(ProxyFactoryBase.class, Mockito.CALLS_REAL_METHODS);
    factoryBase.defaultProxy(ProxyFactoryBaseTest.class, Mockito.mock(MessageSender.class));
}