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

	ResourceMethod method = new DefaultResourceMethod(null, DogAlike.class.getMethod("bark", int.class));
	DogAlike auau = mock(DogAlike.class);
	when(info.getParameters()).thenReturn(new Object[] { 3 });
	interceptor.intercept(stack, method, auau);
	verify(auau).bark(3);
	verify(stack).next(method, auau);
	verify(info).setResult("ok");
}