@Test
public void testParseAnonymousTrapParent()
{

    List<CheckReference<?>> refs = VirtualCheckExpressionParser.parseParentsExpression("trap 'port_e1/1'");
    assertThat(refs, is(notNullValue()));
    assertThat(refs.size(), is(equalTo(1)));
    assertThat(refs.get(0), is(notNullValue()));
    assertThat(refs.get(0), is(instanceOf(AnonymousTrap.class)));
    assertThat(refs.get(0), is(hasProperty("name", equalTo("port_e1/1"))));
}