### Question:
ConsumerGroupVo { public void setGroupName(String name) { if (meta == null) { if (Util.isEmpty(name)) { throw new IllegalArgumentException("参数不对,consumerGroupName不能为空！"); } meta = new ConsumerGroupMetaVo(); meta.setName(name); } } ConsumerGroupVo();  ConsumerGroupVo(String consumerGroupName, ConsumerGroupTopicVo topicVo);  ConsumerGroupVo(String consumerGroupName); void setGroupName(String name); boolean addTopic(ConsumerGroupTopicVo topicVo); ConsumerGroupMetaVo getMeta(); Map<String, ConsumerGroupTopicVo> getTopics(); void setTopics(Map<String, ConsumerGroupTopicVo> topics);  }### Answer:
@Test public void setGroupNameTest() { ConsumerGroupVo consumerGroupVo = new ConsumerGroupVo("tttt"); boolean rs = false; try { consumerGroupVo = new ConsumerGroupVo(); consumerGroupVo.setGroupName(null); } catch (Exception e) { rs = true; } assertEquals("setGroupNameTest error", true, rs); consumerGroupVo = new ConsumerGroupVo("tttt"); consumerGroupVo.setGroupName("tttt2"); assertEquals("setGroupNameTest error", "tttt", consumerGroupVo.getMeta().getName()); consumerGroupVo = new ConsumerGroupVo(); consumerGroupVo.setGroupName("tttt2"); assertEquals("setGroupNameTest error", "tttt2", consumerGroupVo.getMeta().getName()); }