@Test
public void testParseMajorityOfHostPoolAlt()
{

    VirtualCheckOperator op = VirtualCheckExpressionParser.parseVirtualCheckExpression("majority of hosts in resource pool 'test' as WARNING, CRITICAL");
    assertThat(op.toString(), is(equalTo("majority of hosts in pool 'test' as WARNING, CRITICAL")));
    assertThat(op.computePoolDependencies(null), is(equalTo(new HashSet<String>(Arrays.asList("test")))));
}