@Test
public void shouldSetOkWhenVoidReturnedFromInvokedMethod() throws SecurityException, NoSuchMethodException,
		InterceptionException, IOException {

	ResourceMethod method = new DefaultResourceMethod(null, XController.class.getMethod("method"));
	XController x = new XController();
	
	when(info.getParameters()).thenReturn(new Object[] {});
	
	interceptor.intercept(stack, method, x);
	
	verify(stack).next(method, x);
	verify(info).setResult("ok");
}