Beispiel #1
0
        public void ReturnsEmptyPropertyWhereThereIsNoMatch()
        {
            var expectedResponse = new UhPropertyEntity();
            var result           = _classUnderTest.FromUHProperty(expectedResponse);

            Assert.True(result is Property);
            Assert.IsNull(result.PropRef);
            Assert.IsNull(result.Telephone);
        }
Beispiel #2
0
 public Property FromUHProperty(UhPropertyEntity uhproperty)
 {
     return(_mapper.Map <Property>(uhproperty));
 }