()
| 80 | } |
| 81 | |
| 82 | private Map<String, Object> toJson() { |
| 83 | // Deliberately shaped like the return value for the W3C New Session command's return value. |
| 84 | Map<String, Object> toReturn = new TreeMap<>(); |
| 85 | toReturn.put("capabilities", getCapabilities()); |
| 86 | toReturn.put("sessionId", getId().toString()); |
| 87 | toReturn.put("stereotype", getStereotype()); |
| 88 | toReturn.put("start", getStartTime()); |
| 89 | toReturn.put("uri", getUri()); |
| 90 | return unmodifiableMap(toReturn); |
| 91 | } |
| 92 | |
| 93 | @Override |
| 94 | public boolean equals(Object that) { |
nothing calls this directly
no test coverage detected