### Question:
DBStackStatus { public Status getStatus() { return status; } DBStackStatus();  DBStackStatus(DBStack dbStack, DetailedDBStackStatus detailedDBStackStatus, Long created);  DBStackStatus(DBStack dbStack, Status status, String statusReason, DetailedDBStackStatus detailedDBStackStatus, Long created); void setId(Long id); Long getId(); void setDBStack(DBStack dbStack); DBStack getDBStack(); void setStatus(Status status); Status getStatus(); void setStatusReason(String statusReason); String getStatusReason(); void setDetailedDBStackStatus(DetailedDBStackStatus detailedDBStackStatus); DetailedDBStackStatus getDetailedDBStackStatus(); void setCreated(Long created); Long getCreated();  }### Answer:
@Test public void testConstructionFromDetailedStatus() { long now = System.currentTimeMillis(); status = new DBStackStatus(STACK, DetailedDBStackStatus.PROVISION_REQUESTED, now); assertEquals(DetailedDBStackStatus.PROVISION_REQUESTED.getStatus(), status.getStatus()); }