public void CreateTest()
        {
            // Arrange
            var entity = "dino";

            // Act
            _repository.Create(entity);
        }
示例#2
0
        private void ActSomething(object sender, EventArgs e)
        {
            _repository.Create("something");
            _loggerService.Log("After repo create - logger");

            _repository.Get();
            _loggerService.Log("After repo get - logger");
        }