public void Setup()
 {
     _userByEmailQuery = Substitute.For<IUserByEmailQuery>();
     _createUserCommand = Substitute.For<ICreateUserCommand>();
     _deleteUserCommand = Substitute.For<IDeleteUserCommand>();
 }
        public void Setup()
        {
            _fixture = new Fixture();
            _fixture.Customize(new AutoNSubstituteCustomization());

            _userByEmailQuery = _fixture.Freeze<IUserByEmailQuery>();
            _createUserCommand = _fixture.Freeze<ICreateUserCommand>();
        }