Skip to content

Commit

Permalink
added setter assertion in vaccine test
Browse files Browse the repository at this point in the history
  • Loading branch information
junaidwarsivd committed Oct 6, 2021
1 parent 7dfc31f commit d79f429
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.smartregister.immunization.domain;

import org.junit.Assert;
import org.junit.Test;
import org.smartregister.immunization.BaseUnitTest;

Expand Down Expand Up @@ -119,6 +120,8 @@ public void assetTestallgettersandsetters() {
vaccine.setOutOfCatchment(1);
junit.framework.Assert.assertEquals(1, vaccine.getOutOfCatchment().intValue());

vaccine.setOutreach(1);
Assert.assertEquals(1,vaccine.getOutreach().intValue());
vaccine.setProgramClientId(PROGRAMCLIENTID);
junit.framework.Assert.assertEquals(PROGRAMCLIENTID, vaccine.getProgramClientId());
}
Expand Down

0 comments on commit d79f429

Please sign in to comment.