public void When_assortmentHasPermanentBlock_then_CantUnblockAssortment() { Assortment assortment = AnyPermanentBlockedAssortment(); var result = assortment.Unblock(); Assert.That(result, Is.False); }
public void When_assortmentHasTemporaryBlock_then_UnblockAssortment() { Assortment assortment = AnyTemporaryBlockedAssortment(); var result = assortment.Unblock(); Assert.That(result, Is.True); Assert.That(assortment.IsBlocked(), Is.False); }