### Question:
FmsGroupConverter { public FmsGroup umsGroupToGroup(UserManagementProto.Group umsGroup) { return nameToGroup(umsGroup.getGroupName()); }  FmsGroup umsGroupToGroup(UserManagementProto.Group umsGroup); FmsGroup nameToGroup(String name);  }### Answer:
@Test public void testUmsGroupToGroup() { String groupName = "foobar"; UserManagementProto.Group umsGroup = UserManagementProto.Group.newBuilder() .setGroupName(groupName) .build(); FmsGroup fmsGroup = underTest.umsGroupToGroup(umsGroup); assertEquals(groupName, fmsGroup.getName()); }
@Test public void testUmsGroupToGroupMissingName() { UserManagementProto.Group umsGroup = UserManagementProto.Group.newBuilder() .build(); assertThrows(IllegalArgumentException.class, () -> underTest.umsGroupToGroup(umsGroup)); }