Exemple #1
0
 public void Close() => _accountState = _accountState.Close(_money);
        public void Test_Close_ReturnsClosed()
        {
            var result = sut.Close();

            Assert.That(result, Is.TypeOf <Closed>());
        }
Exemple #3
0
 public void Close() => _state          = _state.Close();