### Question:
NamingRequestObjectBuilder { public Element elementMapper(String instanceGroupId, String policyInstanceName, String namingType, String nfNamingCode, String instanceGroupName) { Element element = new Element(); element.put("external-key", instanceGroupId); element.put("policy-instance-name", policyInstanceName); element.put("naming-type", namingType); element.put("resource-name", instanceGroupName); element.put("nf-naming-code", nfNamingCode); return element; }  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 elementMapperTest() { Element expected = new Element(); expected.put("external-key", instanceGroupId); expected.put("policy-instance-name", policyInstanceName); expected.put("naming-type", namingType); expected.put("resource-name", instanceGroupName); expected.put("nf-naming-code", nfNamingCode); Element actual = mapper.elementMapper(instanceGroupId, policyInstanceName, namingType, nfNamingCode, instanceGroupName); assertThat(actual, sameBeanAs(expected)); }