void (final boolean py3K) { final Collection<PyPresenterTestMemberEntry> memberNamesAndStatus = launchAndGetMembers("HugeChild", "SubParent1"); //Pair will return correct type final Matcher<Iterable<? extends PyPresenterTestMemberEntry>> matcher = Matchers .containsInAnyOrder(new PyPresenterTestMemberEntry("extends date", true, false, false), new PyPresenterTestMemberEntry("CLASS_FIELD", true, true, false), new PyPresenterTestMemberEntry("__init__(self)", true, false, false), new PyPresenterTestMemberEntry("extends SubParent1", false, false, false), new PyPresenterTestMemberEntry("foo(self)", true, false, true), new PyPresenterTestMemberEntry("bar(self)", true, false, true), new PyPresenterTestMemberEntry("static_1(cls)", true, true, py3K), new PyPresenterTestMemberEntry("static_2()", true, true, py3K), new PyPresenterTestMemberEntry("self.instance_field_1", true, false, false), new PyPresenterTestMemberEntry("self.instance_field_2", true, false, false), new PyPresenterTestMemberEntry("bad_method()", true, false, true), new PyPresenterTestMemberEntry("name", true, false, false), new PyPresenterTestMemberEntry("some_property", true, false, false)); compareMembers(memberNamesAndStatus, matcher); }