### Question:
AzActionImpl extends AzAttributesImpl implements AzAction { @Override public String toString() { return action == null ? "*" : action; } AzActionImpl( String action ); @Override String getAction(); @Override String toString();  }### Answer:
@Test public void testToString() throws Exception { AzActionImpl nullAction = new AzActionImpl(null); assertEquals( "null Action", "*", nullAction.toString() ); AzActionImpl createAction = new AzActionImpl("create"); assertEquals( "non-null Action", "create", createAction.toString() ); }