Transition extends Resource { @Override public String toString() { return getName(); } protected  Transition(RestClient restclient, JSONObject json); @Override String toString(); String getName(); Status getToStatus(); Map getFields();  }
@Test public void testTransitionToString() throws URISyntaxException { Transition transition = new Transition(new RestClient(null, new URI("/123/asd")), getTestJson()); assertEquals("Done", transition.toString()); }