ifs-data-layer/ifs-data-service/src/test/java/org/innovateuk/ifs/finance/controller/ApplicationFinanceRowControllerIntegrationTest.java
/* Grant Claim Section Tests - Large Organisation Size */
Grant Claim Section Tests - Large Organisation Size
Grant Claim Section Tests - Large Organisation Size
@Rollback
    @Test
    public void validationGrantClaimUpdateLargeOrganisationSize(){
        applicationFinance.setOrganisationSize(LARGE);
        assertEquals(LARGE, applicationFinance.getOrganisationSize());
        grantClaim.setPercentage(BigDecimal.valueOf(45));
        RestResult<ValidationMessages> validationMessages = controller.update(grantClaim.getId(), grantClaim);
        assertTrue(validationMessages.isSuccess());
        assertTrue(validationMessages.getSuccess().getErrors().isEmpty());
    }
@ Rollback @ Test public void validationGrantClaimUpdateLargeOrganisationSize ( ) { applicationFinance . setOrganisationSize ( LARGE ) ; assertEquals ( LARGE , applicationFinance . getOrganisationSize ( ) ) ; grantClaim . setPercentage ( BigDecimal . valueOf ( 45 ) ) ; RestResult < ValidationMessages > validationMessages = controller . update ( grantClaim . getId ( ) , grantClaim ) ; assertTrue ( validationMessages . isSuccess ( ) ) ; assertTrue ( validationMessages . getSuccess ( ) . getErrors ( ) . isEmpty ( ) ) ; }
Grant Claim Section Tests - Large Organisation Size
Grant Claim Section Tests - Large Organisation Size