Exemplo n.º 1
0
 @Test
 public void testClear() {
   TableOrder table4 = Table4.getInstance();
   Table4.clearOrder();
   TableOrder table44 = Table4.getInstance();
   assertEquals(false, table4 == table44);
 }
Exemplo n.º 2
0
 @Test
 public void testTable1Name() {
   Table1.clearOrder();
   TableOrder table4 = Table4.getInstance();
   assertEquals("Table 4", table4.tableName);
 }
Exemplo n.º 3
0
 @Test
 public void testTable1Instance() {
   TableOrder table4 = Table4.getInstance();
   TableOrder table44 = Table4.getInstance();
   assertEquals(true, table4 == table44);
 }