public void CountTestNotNull() { // Act int result = stockAdjustmentRepository.Count(); // Assert Assert.IsTrue(result >= 0, "Unable to count properly"); }
public void FindAllStockAdjustmentTest() { //Arrange int expected = stockAdjustmentRepository.Count(); //Act var result = service.FindAllStockAdjustment(); //Assert CollectionAssert.AllItemsAreInstancesOfType(result, typeof(StockAdjustment)); }