### Question:
GrpcCommon { static String convertFromV09AgentRollupId(String v09AgentRollupId) { return v09AgentRollupId.replaceAll(" */ *", "::").trim() + "::"; } GrpcCommon(AgentConfigDao agentConfigDao, V09AgentRollupDao v09AgentRollupDao);   }### Answer:
@Test public void test() { assertThat(GrpcCommon.convertFromV09AgentRollupId("a/b/c")).isEqualTo("a::b::c::"); assertThat(GrpcCommon.convertFromV09AgentRollupId(" a/b/c ")).isEqualTo("a::b::c::"); assertThat(GrpcCommon.convertFromV09AgentRollupId("a / b/c")).isEqualTo("a::b::c::"); assertThat(GrpcCommon.convertFromV09AgentRollupId("a/ b /c")).isEqualTo("a::b::c::"); }