Gringotts.Domain.Venture.IsStarted C# (CSharp) Method

IsStarted() public method

public IsStarted ( ) : bool
return bool
        public virtual bool IsStarted()
        {
            return State == STARTED_STATE;
        }

Usage Example

コード例 #1
0
ファイル: VentureTest.cs プロジェクト: bagheera/Gringotts
 public void ShouldBeAbleToStartAVenture()
 {
     var outlay = new Amount(40);
     var venture = new Venture(new Name("Ventura"), outlay, new Amount(1));
     var investor0 = new Investor(new Name("Investor0"),  new Amount(100));
     venture.AddOffer(investor0, new Amount(50));
     venture.Start();
     Assert.True(venture.IsStarted());
 }
All Usage Examples Of Gringotts.Domain.Venture::IsStarted