Beispiel #1
0
 /** 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);
 }
Beispiel #2
0
 /** 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);
 }