/** Test of getChainId method, of class HetatomImpl. */ @Test public void testGetChainId() { // System.out.println("getChainId"); Chain chain = new ChainImpl(); chain.setChainID("A"); HetatomImpl instance = new HetatomImpl(); instance.setChain(chain); String expResult = "A"; String result = instance.getChainId(); assertEquals(expResult, result); }
/** Test of setChain method, of class HetatomImpl. */ @Test public void testSetGetChain() { // System.out.println("setGetChain"); Chain chain = new ChainImpl(); chain.setChainID("A"); HetatomImpl instance = new HetatomImpl(); instance.setChain(chain); Chain expResult = chain; Chain result = instance.getChain(); assertEquals(expResult, result); }