@Test void testNoSuccess() throws Exception { CreditMaster master = new CreditMaster("crm2.mas", true); IRGHConnection connection = new FakeConnection(); CreditValidator validator = new CreditValidator(connection, master, "a"); connection.setReport(new RFDIReport()); Certificate result = validator.validateCustomer(new Customer()); assertEquals(Certificate.VALID, result.getStatus()); }