@Test public void test_should_map_from_entity_to_domain() { ComplaintStatus complaintStatus = new ComplaintStatus(1L, "name","default","0001"); org.egov.workflow.domain.model.ComplaintStatus complaintStatusModel = complaintStatus.toDomain(); assertThat(complaintStatusModel.getId()).isEqualTo(1); assertThat(complaintStatusModel.getName()).isEqualTo("name"); }
public org.egov.workflow.domain.model.ComplaintStatus toDomain() { return new org.egov.workflow.domain.model.ComplaintStatus(id, name, tenantId, code); }
ComplaintStatus extends AbstractPersistable<Long> { public org.egov.workflow.domain.model.ComplaintStatus toDomain() { return new org.egov.workflow.domain.model.ComplaintStatus(id, name, tenantId, code); } }
ComplaintStatus extends AbstractPersistable<Long> { public org.egov.workflow.domain.model.ComplaintStatus toDomain() { return new org.egov.workflow.domain.model.ComplaintStatus(id, name, tenantId, code); }  }
ComplaintStatus extends AbstractPersistable<Long> { public org.egov.workflow.domain.model.ComplaintStatus toDomain() { return new org.egov.workflow.domain.model.ComplaintStatus(id, name, tenantId, code); }  org.egov.workflow.domain.model.ComplaintStatus toDomain(); }
ComplaintStatus extends AbstractPersistable<Long> { public org.egov.workflow.domain.model.ComplaintStatus toDomain() { return new org.egov.workflow.domain.model.ComplaintStatus(id, name, tenantId, code); }  org.egov.workflow.domain.model.ComplaintStatus toDomain(); static final String SEQ_COMPLAINTSTATUS; }