public void TestExecuteShouldAddSaleToTheDatabase() { _command.Execute(_model); _mocker.GetMock <ISaleRepositoryFacade>() .Verify(p => p.AddSale(_sale), Times.Once); }
public void TestExecuteShouldAddSaleToTheDatabase() { _command.Execute(_model); _mocker.GetMock <IDbSet <Sale> >() .Verify(p => p.Add(_sale), Times.Once); }