@Test
public void test_get_parameter_exists() throws Exception{

    when(dataObjectService.find(Matchers.argThat(new ClassOrSubclassMatcher<ParameterBo>(
            ParameterBo.class)), any(QueryByCriteria.class))).thenReturn(bo);
    Parameter param = getParameterRepositoryService().getParameter(key);
    assertEquals("Parameters are equal",param,parameter);
    verify(dataObjectService, times(1)).find(Matchers.argThat(new ClassOrSubclassMatcher<ParameterBo>(
            ParameterBo.class)), any(QueryByCriteria.class));
}