@@ -0,0 +1,738 @@
+package cl.fatman.capital.fund;%0A%0Aimport static org.junit.Assert.*;%0Aimport org.junit.After;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport java.util.List;%0A%0Apublic class ControllerFailTest %7B%0A%09%0A%09private Controller control;%0A%09private PersistenceData persistence;%0A%09%0A%09@Before%0A%09public void setUp() %7B%0A%09%09control = Controller.getInstance();%0A%09%09control.setUp();%0A%09%09persistence = PersistenceData.getInstance();%0A%09%7D%0A%09%0A%09@After%0A%09public void tearDown() %7B%0A%09%09control.tearDown();%0A%09%7D%0A%09%0A%09@Test%0A%09public void storeFundDataFailTest() %7B%0A%09%09control.storeFundData();%0A%09%09control.storeFundData();%0A%09%09List%3C?%3E fundRateList = persistence.selectAllObjects(%22from FundRate%22, FundRate.class);%0A%09%09assertEquals(%22Fund rate list size shold be 0.%22, 0, fundRateList.size());%0A%09%7D%0A%7D

Create a junit class to test the fails in the Controller.