// Check internals
// First parameter (foo)
java.lang.annotation.Annotation[] fooAnns = annotations[0];
assertEquals("Check fooAnns length", 1, fooAnns.length);
Marker marker = (Marker) fooAnns[0];
assertNotNull("Check marker", marker);
assertEquals("Check marker name", "marker", marker.name());
assertEquals("Check marker type", Marker.Type.BAR, marker.type());
assertEquals("Check sub marker attribute", "foo", marker.sub().subname());
assertEquals("Check objects [0]", "foo", marker.arrayOfObjects()[0]);
assertEquals("Check objects [1]", "bar", marker.arrayOfObjects()[1]);
assertEquals("Check objects [2]", "baz", marker.arrayOfObjects()[2]);
assertEquals("Check annotations[0]", "foo", marker.arrayOfAnnotations()[0].subname());
// Second parameter (bar), no annotation (invisible)
java.lang.annotation.Annotation[] barAnns = annotations[1];
assertEquals("Check barAnns length", 0, barAnns.length);