@Test
public void test_get_parameter_value_as_boolean_null() throws Exception{

    when(dataObjectService.find(Matchers.argThat(new ClassOrSubclassMatcher<ParameterBo>(
            ParameterBo.class)), any(QueryByCriteria.class))).thenReturn(null);
    assertNull(getParameterRepositoryService().getParameterValueAsBoolean(key));
    verify(dataObjectService, times(2)).find(Matchers.argThat(new ClassOrSubclassMatcher<ParameterBo>(
            ParameterBo.class)), any(QueryByCriteria.class));
}