public DescribeGroupsResponseData.DescribedGroupMember describeNoMetadata() {
        return new DescribeGroupsResponseData.DescribedGroupMember()
            .setMemberId(memberId())
            .setGroupInstanceId(groupInstanceId().orElse(null))
            .setClientId(clientId())
            .setClientHost(clientHost())
            .setMemberAssignment(assignment());
    }
@Test
    public void testDescribeNoMetadata() {
        ClassicGroupMember member = new ClassicGroupMember(
            "member",
            Optional.of("group-instance-id"),
            "client-id",
            "client-host",
            10,
            4500,
            "generic",
            new JoinGroupRequestProtocolCollection(),
            new byte[0]
        );

        DescribeGroupsResponseData.DescribedGroupMember expectedDescribedGroupMember =
            new DescribeGroupsResponseData.DescribedGroupMember()
                .setMemberId("member")
                .setGroupInstanceId("group-instance-id")
                .setClientId("client-id")
                .setClientHost("client-host")
                .setMemberAssignment(new byte[0]);

        DescribeGroupsResponseData.DescribedGroupMember describedGroupMember = member.describeNoMetadata();

        assertEquals(expectedDescribedGroupMember, describedGroupMember);
    }