use of org.openlmis.stockmanagement.web.stockcardsummariesv2.CanFulfillForMeEntryDto in project openlmis-stockmanagement by OpenLMIS.
the class StockCardSummaryV2DtoTest method shouldGetNullStockOnHandIfCanFulfillForMeIsNullOrEmpty.
@Test
public void shouldGetNullStockOnHandIfCanFulfillForMeIsNullOrEmpty() {
StockCardSummaryV2Dto stockCard = new StockCardSummaryV2DtoDataBuilder().withCanFulfillForMe((Set<CanFulfillForMeEntryDto>) null).build();
assertEquals(null, stockCard.getStockOnHand());
stockCard = new StockCardSummaryV2DtoDataBuilder().build();
assertEquals(null, stockCard.getStockOnHand());
}
use of org.openlmis.stockmanagement.web.stockcardsummariesv2.CanFulfillForMeEntryDto in project openlmis-stockmanagement by OpenLMIS.
the class CanFulfillForMeEntryDtoTest method shouldImplementToString.
@Test
public void shouldImplementToString() {
CanFulfillForMeEntryDto params = new CanFulfillForMeEntryDtoDataBuilder().build();
ToStringTestUtils.verify(CanFulfillForMeEntryDto.class, params);
}
Aggregations