@Test
public void test_return_array_method() {
int[] cc = new int[4];
Arrays.fill(cc, 0);
ClassAgent aca = getNewClassAgent();
aca.addInterceptor(MethodMatcherFactory.matcher("returnArrayMethod"), new MethodCounter(cc));
Class<? extends Buffalo> c = aca.define(Nutzs.cd(), Buffalo.class);// RA.class;
Buffalo r = Mirror.me(c).born();
String[] ss = r.returnArrayMethod();
assertEquals("[1, 1, 0, 0]", Json.toJson(cc));
assertEquals(3, ss.length);