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

IsProposed() public method

public IsProposed ( ) : bool
return bool
        public virtual bool IsProposed()
        {
            return State == PROPOSED_STATE;
        }

Usage Example

コード例 #1
0
ファイル: VentureTest.cs プロジェクト: bagheera/Gringotts
 public void ShouldBeAbleToCreateAVenture()
 {
     var nameOfVenture = new Name("Ventura");
     var outlay = new Amount(100);
     var minInvestment = new Amount(1);
     var venture = new Venture(nameOfVenture, outlay, minInvestment);
     Assert.AreEqual(nameOfVenture.GetValue(), venture.Name);
     Assert.AreEqual(outlay, venture.Outlay);
     Assert.AreEqual(minInvestment, venture.MinInvestment);
     Assert.True(venture.IsProposed());
 }
All Usage Examples Of Gringotts.Domain.Venture::IsProposed