Beispiel #1
0
        public void Given_Coin_CoinHasFullDescription1()
        {
            Coin coin = CoinMother.CreateCoin_3Hours_Painting();

            Assert.AreEqual(coin.Labor.EquivalentProduct.Description, "2 pounds of pasta");
        }
Beispiel #2
0
        public void Given_Coin_CoinHasFullDescription()
        {
            Coin coin = CoinMother.CreateCoin_3Hours_Painting();

            Assert.AreEqual(coin.Description, "3 HOURS of PAINTING due to JANE SMITH from JOHN SMITH");
        }
Beispiel #3
0
        public void Given_Coin_LaborAgreementHasHours()
        {
            Coin coin = CoinMother.CreateCoin_3Hours_Painting();

            Assert.AreEqual(coin.Labor.Hours, 3);
        }
Beispiel #4
0
        public void Given_Coin_LaborAgreementHasStringRepresentation()
        {
            Coin coin = CoinMother.CreateCoin_3Hours_Painting();

            Assert.AreEqual(coin.Labor.ToString(), "3 HOURS of PAINTING");
        }
Beispiel #5
0
        public void Given_Coin_LaborAgreementHasDescription()
        {
            Coin coin = CoinMother.CreateCoin_3Hours_Painting();

            Assert.AreEqual(coin.Labor.Description, "PAINTING");
        }