public boolean acceptanceTestAddCustomer(Customer customer){
        JFrame frame = new JFrame("Add new Customer");
        frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);

        JPanel contentPane = new CustomerInputForm(controller);
        frame.setContentPane(contentPane);
        frame.pack();   
        frame.setLocationByPlatform(true);
        frame.setVisible(true);
        ((CustomerInputForm)contentPane).performAcceptanceTestAddClient(customer);
        
        boolean result =  customerForm.acceptanceTestAddCustomerTest(customer);
        //sleep to see the result
        try {
            Thread.sleep(2000);
        } catch (InterruptedException ex) {
            Logger.getLogger(MainView.class.getName()).log(Level.SEVERE, null, ex);
        }
        controller.getModel().getDb().deleteCustomer(customer);
        
        return result;
        
        
    }