BondEnergy { public IBond.Order getBondOrder() { return bondOrder; } 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 testGetBondOrder() { BondEnergy instance = new BondEnergy("H", "I", Order.SINGLE, 295); Order expResult = Order.SINGLE; Order result = instance.getBondOrder(); assertEquals(expResult, result); }