@Test
public void test_get_parameter_value_as_boolean_not_null_not_boolean() throws Exception{

    bo.setValue("not boolean");
    when(dataObjectService.find(Matchers.argThat(new ClassOrSubclassMatcher<ParameterBo>(
            ParameterBo.class)), any(QueryByCriteria.class))).thenReturn(bo);
    assertNull(getParameterRepositoryService().getParameterValueAsBoolean(key));
    verify(dataObjectService, times(1)).find(Matchers.argThat(new ClassOrSubclassMatcher<ParameterBo>(
            ParameterBo.class)), any(QueryByCriteria.class));
}