@Test(dataProvider = TestConstants.RESTLI_PROTOCOL_1_2_PREFIX + "requestContactsBuilderDataProviderNonEntity")
public void testSubResourceCreateId(ProtocolVersion version, String expectedUri)
throws IOException, RestException
{
GroupContact contact = new GroupContact();
contact.setContactID(3);
contact.setGroupID(1);
contact.setMemberID(3);
contact.setFirstName("Laura");
contact.setLastName("Smith");
contact.setIsPreapproved(true);
contact.setIsInvited(true);
CreateIdRequest<Integer, GroupContact> newRequest = new ContactsRequestBuilders().create().groupIdKey(1).input(contact).build();
checkRequestBuilder(newRequest, ResourceMethod.CREATE, IdResponseDecoder.class, expectedUri, contact, version);
}