source: class TestVirtualCheckExpressionParser {
  
      @Test
      public void testParseAnonymousServiceParent()
      {
  
target:         List<CheckReference<?>> refs = VirtualCheckExpressionParser.parseParentsExpression("service 'check_sshd'");
          assertThat(refs, is(notNullValue()));
          assertThat(refs.size(), is(equalTo(1)));
          assertThat(refs.get(0), is(notNullValue()));
          assertThat(refs.get(0), is(instanceOf(AnonymousService.class)));
          assertThat(refs.get(0), is(hasProperty("name", equalTo("check_sshd"))));
      }
  
  }