@Test public void testGetId() throws Exception { Program program = new Program("test"); assertEquals("test", program.getId()); }
public final String getId() { return this.id; }
Program { public final String getId() { return this.id; } }
Program { public final String getId() { return this.id; } Program(final String id); }
Program { public final String getId() { return this.id; } Program(final String id); final String getId(); final Variable getVariable(final String id); final void addVariable(final Variable var); final Function getFunction(final String id); final void addFunction(final Function function); final OperationSequence getBody(); Set<Variable> getVariables(); Set<Function> getFunctions(); @Override final String toString(); }
Program { public final String getId() { return this.id; } Program(final String id); final String getId(); final Variable getVariable(final String id); final void addVariable(final Variable var); final Function getFunction(final String id); final void addFunction(final Function function); final OperationSequence getBody(); Set<Variable> getVariables(); Set<Function> getFunctions(); @Override final String toString();  }