Example #1
0
        public void GetRentValue_GivenNoOtherPropertiesOwnedByThisPropertysOwner_ReturnsBaseRentFromThisProperty()
        {
            GivenNoOtherPropertiesOwnedByThisPropertysOwner();

            var actualRent = _rentStrategy.GetRentValue(
                _mockThisProperty.Object,
                _mockOtherProperties.Select(m => m.Object));

            Assert.That(actualRent, Is.EqualTo(_baseRent));
        }