public void ResolvesUnknownEBayConditionIdToUnknownConditionId()
        {
            var resolver = new ConditionResolver(CreateTestConditions());

            int actual = resolver.ConditionIdFromEBayConditionId(10);

            Assert.AreEqual(1, actual);
        }
 public void ResolveDescriptionFromConditionIdThrowsIfConditionIdNotKnown()
 {
     var resolver = new ConditionResolver(CreateTestConditions());
     resolver.ConditionDescriptionFromConditionId(6);
 }
 public void ResolvesDescriptionFromConditionId()
 {
     var resolver = new ConditionResolver(CreateTestConditions());
     Assert.AreEqual("New", resolver.ConditionDescriptionFromConditionId(2));
 }
 public void ThrowsIfConstructedWithEmptyConditionList()
 {
     var resolver = new ConditionResolver(new List<Condition>());
 }
 public void ThrowsIfConstructedWithNullConditionList()
 {
     var resolver = new ConditionResolver(null);
 }