    @Test
    public void shouldFindAdminForAccountResourceWhereAllowedInheritAndAllowedNotInherit() throws Exception
    {

        // Account-10 is associated with One-ManShop
        // One-ManShop-CHILD_OF->Subsidiary-CHILD_OF->AcquiredLtd->CHILD_OF->BigCompany

        // Liz is a member of:
        //   Group-6, which has ALLOWED_DO_NOT_INHERIT to OneManShop
        //   Group-5, which has DENIED on AcquiredLtd
        //   Group-4, which has ALLOWED_INHERIT on BigCompany
        // She has access to Account-10 by virtue of Group-6

        // Phil is a member of:
        //   Group-7, which has ALLOWED_INHERIT on Subsidiary
        // He has access to Account-10 by virtue of Group-7

        // given
        ExecutionResult results = queries.findAdminForResource( "Account-10" );

        // then
        Iterator<Map<String, Object>> iterator = results.iterator();

        assertTrue( iterator.hasNext() );

        assertEquals( "Phil", iterator.next().get( "admin" ) );
        assertEquals( "Liz", iterator.next().get( "admin" ) );

        assertFalse( iterator.hasNext() );
    }