### Question:
UpdateEntitySchemaStatusCommand extends AbstractRestCommand { @Override public String run() { LOGGER.debug("run: enitty={}, version={}, status={}", entity, version, status); Error.reset(); Error.push(getClass().getSimpleName()); Error.push(entity); Error.push(version); try { MetadataStatus st = MetadataParser.statusFromString(status); Metadata md = getMetadata(); md.setMetadataStatus(entity, version, st, comment); return getJSONParser().convert(md.getEntityMetadata(entity, version)).toString(); } catch (Error e) { return e.toString(); } catch (Exception e) { LOGGER.error("Failure: {}", e); return Error.get(RestMetadataConstants.ERR_REST_ERROR, e.toString()).toString(); } } UpdateEntitySchemaStatusCommand(String entity, String version, String status, String comment);  UpdateEntitySchemaStatusCommand(Metadata metadata, String entity, String version, String status, String comment); @Override String run();  }### Answer:
@Test public void execute() { UpdateEntitySchemaStatusCommand command = new UpdateEntitySchemaStatusCommand(metadata, null, null, null, null); String output = command.run(); Assert.assertNotNull(output); }