ExportedVariable implements Serializable { @Override public String toString() { return this.name; } ExportedVariable();  ExportedVariable( String name, String value ); String getName(); void setName( String name ); String getValue(); void setValue( String value ); boolean isRandom(); void setRandom( boolean random ); String getRawKind(); void setRawKind( String rawKind ); RandomKind getRandomKind(); @Override boolean equals( Object obj ); @Override int hashCode(); @Override String toString();  }
@Test public void testToString() { ExportedVariable var = new ExportedVariable( "test", null ); Assert.assertEquals( "test", var.toString()); }