@Test
public void testParseOneOfServicePool()
{

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