BondEnergy { public String getSymbolSecondAtom() { return symbol2; } BondEnergy(String symbol1, String symbol2, IBond.Order order, int energy); String getSymbolFirstAtom(); String getSymbolSecondAtom(); IBond.Order getBondOrder(); int getEnergy(); boolean matches(IBond bond);  }
@Test public void testGetSymbolSecondAtom() { BondEnergy instance = new BondEnergy("H", "I", Order.SINGLE, 295); String expResult = "I"; String result = instance.getSymbolSecondAtom(); assertEquals(expResult, result); }