### Question:
NamingRequestObjectBuilder { public NameGenDeleteRequest nameGenDeleteRequestMapper(List<Deleteelement> deleteElements) { NameGenDeleteRequest nameGenDeleteRequest = new NameGenDeleteRequest(); nameGenDeleteRequest.setElements(deleteElements); return nameGenDeleteRequest; }  Element elementMapper(String instanceGroupId, String policyInstanceName, String namingType,
            String nfNamingCode, String instanceGroupName); Deleteelement deleteElementMapper(String instanceGroupId); NameGenRequest nameGenRequestMapper(List<Element> elements); NameGenDeleteRequest nameGenDeleteRequestMapper(List<Deleteelement> deleteElements);  }### Answer:
@Test public void nameGenDeleteRequestMapper() { NameGenDeleteRequest expected = new NameGenDeleteRequest(); List<Deleteelement> deleteElements = new ArrayList<>(); Deleteelement deleteElement = new Deleteelement(); deleteElement.setExternalKey(instanceGroupId); deleteElements.add(deleteElement); expected.setElements(deleteElements); NameGenDeleteRequest actual = mapper.nameGenDeleteRequestMapper(deleteElements); assertThat(actual, sameBeanAs(expected)); }