### Question:
StatusUtil { public static String[] getRowData(DeploymentStatus deploymentStatus) { if (deploymentStatus == null) { return null; } String age = getAge(deploymentStatus.getAge()); String statusMsg = deploymentStatus.getServiceStatus() != null ? deploymentStatus.getServiceStatus().getMessage() : null; String[] rowData = new String[]{deploymentStatus.getServiceName(), statusMsg, age, deploymentStatus.getServiceAddress(), deploymentStatus.getMessage()}; return rowData; }  static String[] getRowData(DeploymentStatus deploymentStatus); static TableFormatter getStatusTable(boolean isLarge); static String[] getReplicasData(ReplicaInfo replicaInfo); static String getAge(DateTime dateTime);  }### Answer:
@Test public void nullDeployStatus() { assertNull(StatusUtil.getRowData(null)); }
@Test public void nullStatus() { deploymentStatus.setServiceStatus(null); assertNotNull(StatusUtil.getRowData(deploymentStatus)); }
@Test public void nullAge() { deploymentStatus.setAge(null); assertNotNull(StatusUtil.getRowData(deploymentStatus)); }
@Test public void nullServiceAddress() { deploymentStatus.setServiceAddress(null); assertNotNull(StatusUtil.getRowData(deploymentStatus)); }
@Test public void nullMessage() { deploymentStatus.setMessage(null); assertNotNull(StatusUtil.getRowData(deploymentStatus)); }
@Test public void nullServiceName() { deploymentStatus.setServiceName(null); assertNotNull(StatusUtil.getRowData(deploymentStatus)); }