@Test
public void test_get_sub_parameter_values_as_string_multiple_match() throws Exception{

    //adding whitespace
    bo.setValue("foo= f1, f2 , f3; bar=b1; foo=f4,f5");
    when(dataObjectService.find(Matchers.argThat(new ClassOrSubclassMatcher<ParameterBo>(
            ParameterBo.class)), any(QueryByCriteria.class))).thenReturn(bo);
    Collection<String> values = getParameterRepositoryService().getSubParameterValuesAsString(key, "foo");
    assertTrue(values.size() == 3);
    assertTrue(values.contains("f1"));
    assertTrue(values.contains("f2"));
    assertTrue(values.contains("f3"));
    assertImmutableList(values);
    verify(dataObjectService, times(1)).find(Matchers.argThat(new ClassOrSubclassMatcher<ParameterBo>(
            ParameterBo.class)), any(QueryByCriteria.class));
}