@SuppressWarnings("unchecked") Map<String, ?> props1 = (Map<String, ?>) cs1.getProps().get("props");
@SuppressWarnings("unchecked") Map<String, ?> props2 = (Map<String, ?>) cs2.getProps().get("props");
assertThat(props1.get("location")).isEqualTo("kitchen");
assertThat(props2.get("location")).isEqualTo("kitchen");
Setter setter = osgiHelper.getServiceObject(Setter.class, null);
setter.set("bedroom");
props1 = (Map<String, ?>) cs1.getProps().get("props");
props2 = (Map<String, ?>) cs2.getProps().get("props");
assertThat(props1.get("location")).isEqualTo("bedroom");
assertThat(props2.get("location")).isEqualTo("bedroom");