@Test
public void testParseCountHostPool()
{

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