@Test
public void shouldThrowProxyInvocationExceptionIfAnErrorOccurs() {

	C proxy = proxifier.proxify(C.class, new MethodInvocation<C>() {
		public Object intercept(C proxy, Method method, Object[] args, SuperMethod superMethod) {
			return superMethod.invoke(proxy, args);
		}
	});
	
	try {
		proxy.doThrow();
		fail("Should throw exception");
	} catch (ProxyInvocationException e) {
		
	}
}