### Question:
AllottedResource extends Resource { public AllottedResource() { resourceType = ResourceType.ALLOTTED_RESOURCE; setResourceId(UUID.randomUUID().toString()); } AllottedResource(); String getAllottedResourceType(); void setAllottedResourceType(String allottedResourceType); String getAllottedResourceRole(); void setAllottedResourceRole(String allottedResourceRole); String getProvidingServiceModelName(); void setProvidingServiceModelName(String providingServiceModelName); String getProvidingServiceModelInvariantUuid(); void setProvidingServiceModelInvariantUuid(String providingServiceModelInvariantUuid); String getProvidingServiceModelUuid(); void setProvidingServiceModelUuid(String providingServiceModelUuid); String getNfFunction(); void setNfFunction(String nfFunction); String getNfType(); void setNfType(String nfType); String getNfRole(); void setNfRole(String nfRole); String getNfNamingCode(); void setNfNamingCode(String nfNamingCode); String getOrchestrationStatus(); void setOrchestrationStatus(String orchestrationStatus); String getResourceInput(); void setResourceInput(String resourceInput);  }### Answer:
@Test public void testAllottedResource() { ar.setAllottedResourceType("allottedResourceType"); ar.setAllottedResourceRole("allottedResourceRole"); ar.setProvidingServiceModelName("providingServiceModelName"); ar.setProvidingServiceModelInvariantUuid("providingServiceModelInvariantUuid"); ar.setProvidingServiceModelUuid("providingServiceModelUuid"); ar.setNfFunction("nfFunction"); ar.setNfType("nfType"); ar.setNfRole("nfRole"); ar.setNfNamingCode("nfNamingCode"); ar.setOrchestrationStatus("orchestrationStatus"); assertEquals(ar.getAllottedResourceType(), "allottedResourceType"); assertEquals(ar.getAllottedResourceRole(), "allottedResourceRole"); assertEquals(ar.getProvidingServiceModelName(), "providingServiceModelName"); assertEquals(ar.getProvidingServiceModelInvariantUuid(), "providingServiceModelInvariantUuid"); assertEquals(ar.getProvidingServiceModelUuid(), "providingServiceModelUuid"); assertEquals(ar.getNfFunction(), "nfFunction"); assertEquals(ar.getNfType(), "nfType"); assertEquals(ar.getNfRole(), "nfRole"); assertEquals(ar.getNfNamingCode(), "nfNamingCode"); assertEquals(ar.getOrchestrationStatus(), "orchestrationStatus"); }