/** * This method tests that total attributes of Award Business Object * * @throws Exception */ @Test public void testAwardCostShareBoAttributesCount() throws Exception { Assert.assertEquals( AWARD_DIRECT_F_AND_A_DISTRIBUTION_ATTRIBUTES_COUNT, awardDirectFandADistributionBo.getClass().getDeclaredFields().length); }
/** @throws Exception */ @Before public void setUp() throws Exception { awardDirectFandADistributionBo = new AwardDirectFandADistribution(); awardDirectFandADistributionBo.setAward(award); }