public void Commit_LogsEntities() { unitOfWork.Commit(); logger.Received().Log(Arg.Any <IEnumerable <DbEntityEntry> >()); logger.Received().Save(); }