@Test public void testGetNumber() { int progNum = 15; int progVers = 17; OncRpcProgram program = new OncRpcProgram(progNum, progVers); assertEquals("Program number miss match", progNum, program.getNumber()); }
public int getNumber() { return _number; }
OncRpcProgram { public int getNumber() { return _number; } }
OncRpcProgram { public int getNumber() { return _number; } OncRpcProgram(int number, int version); }
OncRpcProgram { public int getNumber() { return _number; } OncRpcProgram(int number, int version); int getNumber(); int getVersion(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); }
OncRpcProgram { public int getNumber() { return _number; } OncRpcProgram(int number, int version); int getNumber(); int getVersion(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }